Google


ADBRITE ads links
You are here: CodeIdol.com > Unix > Linux® Quick Fix > Secure Remote Logins And File Copying > Using SSH To Log Into A Remote Machine

SAVE
Digg
Shown on del.icio.us del.icio.us
See Whos Talking About This on Technorati Technorati
I've Reddit reddit

Using SSH to Log Into a Remote Machine

Using SSH is similar to TELNET. To log in from another Linux box use the ssh command with a -l to specify the username you wish to log in as. If you leave out the -l, your username will not change. Here are some examples for a server named Smallfry in your /etc/hosts file. You can also use the username@remote_server format as an alternative.

If you are user root and you want to log into Smallfry as yourself, use the command:

     [root@bigboy tmp]# ssh smallfry

User root can also log into Smallfry as user peter via the default port 22:

     [root@bigboy tmp]# ssh -l peter smallfry

or via port 435 using the username@remote_server alternative login format:

     [root@bigboy tmp]# ssh -p 435 peter@smallfry

    SAVE
    Digg
    Shown on del.icio.us del.icio.us
    See Whos Talking About This on Technorati Technorati
    I've Reddit reddit

    You are here: CodeIdol.com > Unix > Linux® Quick Fix > Secure Remote Logins And File Copying > Using SSH To Log Into A Remote Machine
       
    Related tags







    Popular Categories
    Unix books and guides
    AJAX popular information
    C# language guides
    Windows books and cookbooks
    .......






    © CodeIdol Labs, 2007