LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-24-2007, 05:20 PM   #1
lyke
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Rep: Reputation: 0
ssh copy


Here's the situation:
lately, I've been finding myself at school on the day an essay/paper/similar computer related assignment is due, and without a hard copy (on paper) or a soft copy (on a disk) to turn in. I've set up a ssh server to deal with this, so that I can log into my own computer remotely:

Now what do I do from here after logging in to send /home/$user/document.odt to whatever computer I'm working on?

If I can't find a linux computer to do this at school, is it possible on a macintosh or windows system without downloading putty or a similar tool? My school likes to keep downloading things like that to a minimum (though they didn't bother to block the ssh ports... I've already checked)

Thanks in advance
 
Old 10-24-2007, 05:25 PM   #2
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
scp(1) is your friend.
EDIT: Ignore that. I somehow missed the whole "can't find a linux computer" part. :/

Last edited by rworkman; 10-24-2007 at 10:28 PM. Reason: </dumbass_mode>
 
Old 10-24-2007, 09:41 PM   #3
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
If you don't have a linux machine ... you will have to use winSCP. If that is not allowed, set up a ftp server on your home comp and do a simple ftp , through IE / firefox and then download the file. the FTP server can run on pretty much any port you want.
 
Old 10-24-2007, 10:32 PM   #4
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
The Gftp app (an GUI ftp/ssh and other protocols client file transfer app) that's on Slackware 12 does ssh

In it's upper right, just (from protocol choices) choose ssh2 for the protocol -- then, ssh logon, browse to the file, click/select the file, click the arrow that points in the needed direction of file transfer, file is transferred

Any firewalls need to let ssh through.

I'm of course unaware if you've access to that the Gftp app.

After a console ssh logon, can't cp just do the task? I forget -- it's been a while since I did a console ssh logon.

fish in konqueror can do too, can drag from fish window to another, a local window then drop on local window. Works pretty good - but I did have a prob a time or two. I since reverted to using Gftp because it always did it without messing up (no prob as happened with konqueror a time or two) and Gftp is an easy GUI to use.

--
Alan.
 
Old 10-25-2007, 03:08 AM   #5
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Quote:
If I can't find a linux computer to do this at school
thats why I said ftp ... other wise scp is the best ...
 
Old 10-25-2007, 04:16 AM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Edit: I missed "putty" word.. If you can't access to external programs like pscp then yes, ftp/http with simple auth is the best solution.

Last edited by gbonvehi; 10-25-2007 at 04:19 AM.
 
Old 10-25-2007, 04:26 AM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by lyke View Post
... is it possible on a macintosh or windows system without downloading putty or a similar tool?
If the macs have OS X installed, you get a terminal in that, which means you can ssh/scp/whateveryouwant from that terminal to you home machine. I think it's in Finder > Applications > Utilities > Terminal, or just use spotlight to find it.
 
  


Reply



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
How to copy a file over SSH session. makkays Linux - General 11 12-05-2006 12:13 PM
SCP Copy File SSH petenyce Linux - Wireless Networking 2 10-05-2005 03:11 PM
ssh graphical copy problem bruse Mandriva 15 03-24-2005 06:18 AM
copy from remote with ssh mehlkelm Linux - Networking 4 09-02-2004 08:11 AM
copy files using SSH from a server to another..both remote Santosh_d Linux - Networking 6 03-10-2004 11:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:34 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration