I suppose you have sshd running on the machine you want to connect to...if it's not, start it (I'm pretty sure you can do this, if you have it running on your other machine too, where you connect via putty as you said..)
test to see if it runs:
now if you got some process, it's on. now make sure your /etc/hosts.allow and /etc/hosts.deny don't have anything that might keep you out of your box (ie hosts.deny does _not_ deny your machine's from connecting, but hosts.allow enables them. if both files are empty, or hosts.deny is empty, then you're ok).
then go to the box you want to connect from. type
Code:
ssh username@address
to connect - username is the username on the machine you want to connect to, that you use, and address is simply the ip-address (or if they're in ethernet, the machine name that is found in /etc/hosts I think) of the machine you connect to. to use sftp instead, run
Code:
sftp username@address
so it works just the same - but instead of a normal command prompt, you get a line like this:
sftp>
where you type the sftp commands. like help for example...
and that's it. just make sure that:
1) on the host machine, sshd is running
2) on the host machine, /etc/hosts.allow and hosts.deny are configured ok
3) on the host machine, sshd's config is okay (try: locate sshd |grep conf)
4) on the host machine, no firewall is blocking you
5) on the client machine, you have ssh installed
6) on both machines the keypairs for ssh have been created (google for help if you haven't...but if you can use ssh, then they are)
well, my lessons continue now...so can't help any more atm
I'll get back to this later, perhaps only after this weekend (sorry), but you should do with this help. use google if you can't figure something out (a command, for example)...