Sending Files in SSH

  • Tdotwire
  • Proficient
  • Proficient
  • User avatar
  • Joined: Jul 18, 2004
  • Posts: 486
  • Loc: Toronto
  • Status: Offline

Post October 23rd, 2005, 9:58 am

does anyone know how to send one file from one host to another in ssh, which command is it?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 23rd, 2005, 9:58 am

  • Axe
  • Genius
  • Genius
  • User avatar
  • Joined: Jan 07, 2004
  • Posts: 5744
  • Loc: Sub-level 28
  • Status: Offline

Post October 23rd, 2005, 4:14 pm

You can receive files from another host using wget or an FTP client. To actually SEND them to another client is tough.

Your best bet is emailing from one to the other, or put the file somewhere accessible via the web, and wget it from the recipient machine.

Or, setup a Samba share.
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post October 23rd, 2005, 5:54 pm

The command installed with ssh is called scp; it basically copies files over the ssh connection (sometimes called 'tunneling').

Any machine that has ssh installed and functional *should* also have scp or sftp; though I would think the former more than the latter.
"It's always a long day, 86,400 won't fit into a short."
  • Axe
  • Genius
  • Genius
  • User avatar
  • Joined: Jan 07, 2004
  • Posts: 5744
  • Loc: Sub-level 28
  • Status: Offline

Post October 23rd, 2005, 5:55 pm

oooh cool, didn't know about that. :)

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 107 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.