Logging at a Server With SSH
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.
No comments:
Post a Comment