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 [email protected]:destinationfile

    ex.

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

    or

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

    or

    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

    I rather prefer:

    Code:
    ssh [email protected]
    
    and for scp I use on windows winscp (http://www.winscp.com) and on linux I prefer konqueror (fish:[email protected])
     

Share This Page