Logging at a server with ssh
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.
on July 12, 2008 on 7:15 am
can you give the user name and password??
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.
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.