about ssh

Discussion in 'HOWTO-Related Questions' started by fahad, Jun 18, 2008.

  1. fahad

    fahad New Member

    how i will use ssh and scp
  2. goldenfox

    goldenfox New Member

    The easiest way to use ssh is

    ssh -l username remotehost


    ssh -l root dummy.net

    The simpliest syntax for scp is

    scp sourcefiles destinationfiles
    scp sourcefile [email protected]:destinationfile


    scp ubuntu.rpm [email protected]:ubuntu.rpm


    scp ubuntu.rpm [email protected]:/etc/ubuntu.rpm


    scp [email protected]:/etc/ubuntu.rpm ubuntu.rpm

    All actions above requires you to have password unless you edited your configuration files.
  3. sjau

    sjau Local Meanie Moderator

Share This Page