LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ssh copy (https://www.linuxquestions.org/questions/slackware-14/ssh-copy-594337/)

lyke 10-24-2007 05:20 PM

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

rworkman 10-24-2007 05:25 PM

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

duryodhan 10-24-2007 09:41 PM

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.

acummings 10-24-2007 10:32 PM

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.

duryodhan 10-25-2007 03:08 AM

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 ...

gbonvehi 10-25-2007 04:16 AM

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.

pwc101 10-25-2007 04:26 AM

Quote:

Originally Posted by lyke (Post 2935627)
... 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.


All times are GMT -5. The time now is 01:39 AM.