SSH Communications Security
Previous Next Up [Contents] [Index]

    About This Document>>
    Introduction to SSH Secure Shell >>
    Configuring SSH Secure Shell >>
    Authentication >>
    Log Messages >>
    Using SSH Secure Shell >>
        Using the Secure Shell Server Daemon (sshd2)>>
        Using the Secure Shell Client (ssh2)>>
            Starting the Secure Shell Client
            Client Configuration File and Command-Line Options
        Using Secure Copy (scp2)
        Using Secure File Transfer (sftp2)
        Using Authentication Agent (ssh-agent2, ssh-add2)
    Tool Syntax>>
    Technical Specifications >>

Starting the Secure Shell Client

Ssh2 has a very simple syntax:

ssh [options] hostname [command]

The most common usage is to establish an interactive session to a remote host. This can be done simply by typing ssh hostname.domain. A real-world example could be ssh root@somehost.ssh.com. As with rsh and rlogin, the user ID to be used can also be specified with the -l option, for example ssh -l root somehost.ssh.com.

Note: As shown in the above example, in the normal case, you do not have to type ssh2. The installation process creates a symbolic link, ssh, that points to the actual ssh2 executable. If ssh1 was installed before ssh2, you will need to type ssh1 to run the ssh1 client.

The ssh2 command-line options are documented in detail on the ssh2(1) manual page.

Previous Next Up [Contents] [Index]


[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2003 SSH Communications Security Corp.
All rights reserved.
Copyright Notice