Re: first ssh, then start copying
From: Kyler Laird (Kyler_at_news.Lairds.org)
Date: 02/15/04
- Next message: Nico Kadel-Garcia: "Re: sftp and chroot"
- Previous message: Brian: "Re: Assistence with OpenSSH build/config on Red Hat 7.2"
- In reply to: Mark Wirdnam: "first ssh, then start copying"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 14 Feb 2004 23:12:05 GMT
mark.wirdnam@stud.unibas.ch (Mark Wirdnam) writes:
>I often use ssh to look at what files I have on a remote server, then
>exit, remembering the location of the files I want to copy, and scp
>from the local machine to get the files. This seems so inefficient,
kyler@jowls:/tmp$ kermit -C "set host /pipe ssh -tt lairds.us kermit -x 2>/dev/null"
C-Kermit 7.0.196, 1 Jan 2000, for Linux
Copyright (C) 1985, 2000,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/tmp/) C-Kermit>remote dir /etc/motd
Press the X or E key to cancel.
-rw-r--r-- 355 2004-01-20 17:30:43 /etc/motd
(/tmp/) C-Kermit>get /etc/motd
(/tmp/) C-Kermit>run cat -n motd
1 Linux lairds.us 2.6.1 #1 Sun Jan 18 02:23:04 UTC 2004 i686 GNU/Linux
2
3 The programs included with the Debian GNU/Linux system are free software;
4 the exact distribution terms for each program are described in the
5 individual files in /usr/share/doc/*/copyright.
6
7 Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
8 permitted by applicable law.
(/tmp/) C-Kermit>close
Closing connection
(/tmp/) C-Kermit>quit
--kyler
- Next message: Nico Kadel-Garcia: "Re: sftp and chroot"
- Previous message: Brian: "Re: Assistence with OpenSSH build/config on Red Hat 7.2"
- In reply to: Mark Wirdnam: "first ssh, then start copying"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|