Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Evar on December 05, 2001, 11:22:14 PM

Title: Command LIne
Post by: Evar on December 05, 2001, 11:22:14 PM
I'd like to know how can i get into the command line, if there is a thing called that way???
Title: Re: Command LIne
Post by: Quade on December 05, 2001, 11:49:04 PM
From the console, you can hit +F3 or +F4, and you'll see a login prompt. Hit +F1 to get back to the main menu.

Or you can telnet straight to the box from a machine on your network.
Title: Re: Command LIne
Post by: ralph on December 06, 2001, 01:11:07 AM
When I try to telnet in from a local network, logging in non-root, I get a message that says telnet has been disabled.   I had telnet set to public.  Any suggestions?


Ralph
Title: Re: Command LIne
Post by: Luke Drumm on December 06, 2001, 01:29:01 AM
If you investigate both the manual, the Web Server Manager interface and do a search of this message board, you'll discover that telnet is disabled for all non-root users by default but can be enabled fairly easily should the need occur.

The recommended approach is to enable SSH for internal network access only and utilise a SSH client to access the server remotely instead.

Regards,
Luke

PS: My favourite SSH client is MindTerm from www.appgate.com.
Title: Re: Command LIne
Post by: Ed Form on December 06, 2001, 05:05:02 AM
In the server manager you need to enable both 'Telnet access' as  Private and 'Allow administrative command line access over telnet'  as yes.

I have a shortcut on my Windows XP desktop that issues this command...

            %windir%\system32\telnet.exe 192.168.1.1

Telnet starts, calls the server and you get a logon prompt. At the end of the session type 'logout' and your down.

login as 'root' for a command prompt or as 'admin' to get the server monitor on your Windaze workstation screen.



Ed Form
Title: Re: Command LIne
Post by: Rob Hillis on December 06, 2001, 05:11:18 AM
Ed Form wrote:

> In the server manager you need to enable both 'Telnet access'
> as  Private and 'Allow administrative command line access
> over telnet'  as yes.

[...]

I can't stress strongly enough how much of a security hazard this is... telnet passes all keystrokes - passwords and all - in CLEAR TEXT over whatever networks the packets travels to get to your server, meaning ANYONE who has a packet sniffer running on the local network CAN obtain the root password this was.

Using SSH is a *FAR* more secure method, and there are innumerable SSH clients around capable of communicating with SME - my personal choice when I was still running Windoze was Putty... a small, one file (i.e. no DLLs) program that provided superb terminal emulation.
Title: Re: Command LIne
Post by: Ed Form on December 06, 2001, 05:24:24 AM
I take your point. Perhaps I should have added that I never enable this facility on any other system than my test network in the office which is completely free of sensitive information. I only use it here because it cuts out a monitor or a kvm switch in my own test facility.

Ed Form
Title: Re: Command LIne
Post by: Evar on December 06, 2001, 10:10:58 AM
Thanks for all!!!!!!!!1
Title: Re: Command LIne
Post by: sage on December 06, 2001, 06:20:52 PM
try openssh its free.  I host a mirror of it.  It is written by networksimplicity.com but their site seems to be down often.  You can get it at  http://www.majorfamily.net/downloads/openssh.zip

Sage