LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Remote login (https://www.linuxquestions.org/questions/linux-general-1/remote-login-256353/)

Gins 11-18-2004 05:41 AM

Remote login
 
$rlogin host2
$uname -n
$pwd
$exit





$rlogin - l user2 host2
$password:
$pwd
$uname -n
$exit


Those above commands said to be use for remote login.
What is the use of uname -n and pwd commands. In the first one, there is no password. Why is that?

In the second one, the switch - l is doing nothing, as far as I can see.

Could you help me?

Hcman 11-18-2004 05:57 AM

I can help with some questions:

1) uname -n prints the node name of the host
2) pwd prints your Present Working Directory

If you want to do remote logins you should really use ssh; it uses a secure connection while rlogin does not.

Arjan

Gins 11-18-2004 06:00 AM

For the best of my knowledge, people use telnet program for login.

I hope someone else will reply me with some details to my question.

Hcman 11-18-2004 06:19 AM

Sure people use telnet but for remote logins (especially over the internet) ssh is better since it is more secure than telnet/rlogin.

Arjan


All times are GMT -5. The time now is 09:35 PM.