S. M. REZAUR RAHMAN


Logging at a server with ssh

Posted in Linux, Networking by rezanayem on the June 11, 2008
Tags: , ,

We can log in at a server or pc with ssh. For this here is some instruction.

1. Suppose we are at 192.168.100.1 and trying to ssh at 192.168.100.5 .

ssh 192.168.100.5

This command will try to connect the 192.168.100.5 as the user that he already logged in the 192.168.100.1. Suppose we are at the root user in the 192.168.100.1. Then the command will try to connect at 192.168.100.5 as the root user.

2. ssh reza@192.168.100.5

This command will try to ssh at 192.168.100.5 as the reza user.

3. ssh -l nayem 192.168.100.5

This command will try to ssh at 192.168.100.5 as nayem user.

4. ssh -p 29 root@192.168.100.5

This command will try to ssh at 192.168.100.5 using the port 29.

Thats all my knowledge about this issue. Expect to get any advice from you.

3 Responses to 'Logging at a server with ssh'

Subscribe to comments with RSS or TrackBack to 'Logging at a server with ssh'.

  1. deidara7777 said,

    on July 12, 2008 on 7:15 am

    can you give the user name and password??

  2. rezanayem said,

    on July 13, 2008 on 8:40 am

    you are assigning a user name while trying to ssh. So you just have to give a password to log in.

  3. rezanayem said,

    on July 13, 2008 on 8:47 am

    you must have to know the password (the password of the username that you are trying to login) of the remote server that you want to login.

Leave a Reply