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

    or

    ssh -l root dummy.net


    The simpliest syntax for scp is

    scp sourcefiles destinationfiles
    scp sourcefile user@host:destinationfile

    ex.

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

    or

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

    or

    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:

    Code:
    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