john.martzouco
Group: Members
Posts: 253
Joined: Nov. 2007 |
|
Posted: Dec. 27 2007,12:12 |
|
Hi KB,
SSH itself is a non-graphical set of tools. You probably know already that its used to transfer files (scp, sftp), or log on remotely (ssh) and run commands in the shell.
When you click the SSH button on the Control Panle, it starts up the sshd daemon on your host machine and it ruins, waiting for an external connection. You can verify that sshd is running by executing ps | grep "sshd" in a console window; it should reply with a one-liner showing you the PID of the daemon.
A prerequisite to using SSH is that your dsl user account have a password. I don't know what the default password is for the account, so I run sudo passwd dsl in a console and assign a password to the account. Don't let the warnings fool you, a short or easy password can be successfully assigned... it's the last message from passwd that counts... it should indicate success.
You'll also need to know the IP address of your host machine. This is easy to get, it's right there on the DSL desktop in the torsmo display of information, top right corner desktop. Let's call this aaa.bbb.ccc.ddd[/d]
The first time that you connect to your host, you will be see a security prompt regarding the host's [b]fingerprint. Type in yes to accept the connection.
Now that you have your system set up, you will need to connect to it from another machine; i.e the client. Try any of the following to use the SSH suite of tools:
1) fetch a file: client side: sftp dsl@aaa.bbb.ccc.ddd enter the dsl user's password get Events.cal exit
Now you'll have a copy of the Events.cal /home/dsl folder on your client machine.
2) send a file: client side: scp c:\autoexec.bat dsl@aaa.bbb.ccc.ddd: enter the dsl user's password
Now you'll have a copy of your autoexec.bat on the host machine in the /home/dsl folder.
3) run a command remotely: client side: ssh aaa.bbb.ccc.ddd enter the dsl user's password execute any non-graphical command you want... try ls
Of course, you're going to need a client machine with SSH tools installed as well. If you're running Windows on your client, copSSH is the best choice currently.
|