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 user@host:destinationfile


    scp ubuntu.rpm root@dummy.net:ubuntu.rpm


    scp ubuntu.rpm root@dummy.net:/etc/ubuntu.rpm


    scp root@dummy.net:/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

    I rather prefer:

    ssh user@remote
    and for scp I use on windows winscp (http://www.winscp.com) and on linux I prefer konqueror (fish://user@remote)

Share This Page