Saturday, April 3, 2010

Linux ssh Tips

Connect to ssh

You can connect to ssh using If you have root access

If you dont have root access then do as below

1. First login ssh
2. su
3. Password: root password
After you login to host1's root.

then ssh -p 2222
host2password :

Now you logged into host2 from host1's root.

To come out to host1. use exit.

locate is the command to search any folder or files.