LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-11-2003, 06:38 PM   #1
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Rep: Reputation: 30
ssh/sftp/telnet


recently, my school disabled the ability to telnet to remote computers in the CS department (which is a 20 minute walk from my house) but ssh and sftp is still working... so, i come to my question... i have to ssh to the computer to run a script with the argument of the file that needs to be submitted, but i first need to copy that file onto the computer. so i first sftp to the computer to copy it, then have to ssh to run the script. my question is, is there an easier way? is there a command in ssh to copy local files to the ssh'ed computer, or is there a way to run a script with sftp??
 
Old 12-11-2003, 06:54 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
i do what u do. i open 2 terminals, one with sftp, and other with ssh, together. heh.
 
Old 12-11-2003, 07:18 PM   #3
Nis
Member
 
Registered: Jul 2003
Location: Virginia
Distribution: Ubuntu Hoary (5.04)
Posts: 550

Rep: Reputation: 31
Use scp. ssh into school machine, 'scp user@homemachine:filetocopy .' This should copy the file from your home machine to the school one.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SFTP and SSH XaViaR Linux - Security 5 07-20-2005 10:18 AM
Ssh/sftp Disconnection basbosco Linux - Security 1 03-12-2004 01:49 PM
SSH - where are scp and sftp satimis Linux - Networking 2 11-15-2003 10:27 AM
sftp and ssh-keygen help please grayhost Linux - Newbie 2 06-26-2003 05:51 PM
ssh and sftp help Rex_chaos Linux - Networking 8 03-17-2003 08:12 PM


All times are GMT -5. The time now is 08:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration