[KLUG Members] ssh questions

Adam Elkins members@kalamazoolinux.org
Tue, 18 May 2004 13:32:04 -0400


I like scp. If your doing this from a windoze box, I recommmend WinSCP.
Otherwise, it's as simple as scp <pathtocopy>
user@<iporhostname>:<directorytocopyto>

i.e. scp ~/readme.txt user@kalamazoolinux.org:~/stuff/

Adam

-----Original Message-----
From: members-admin@kalamazoolinux.org
[mailto:members-admin@kalamazoolinux.org]On Behalf Of Jamie McCarthy
Sent: Tuesday, May 18, 2004 1:12 PM
To: members@kalamazoolinux.org
Subject: Re: [KLUG Members] ssh questions


bill@billtron.com (bill) writes:

> 1. When running SSH and connected to a remote box, what's the
> best way to copy a file to or from the remote box?  Is it
> something I can do within SSH or must I use an external program
> like SCP?

I believe you have to use scp.  Or at least that's what I do.

> 2. If I run a command that takes a while to execute, can I exit
> the SSH session and expect the command to keep running or must
> I do something else first (like putting it in the background,
> etc.)?

ssh doesn't have that functionality, but "screen" does (if you
haven't used it, I highly recommend taking a look).
--
  Jamie McCarthy
 http://mccarthy.vg/
  jamie@mccarthy.vg
_______________________________________________
Members mailing list
Members@kalamazoolinux.org