Technology Questions

Go Back   Technology Questions > Manufacturer Questions > Manufacturers > Apple > Apple Macintosh Hardware

Apple Macintosh Hardware Discuss the Apple Macintosh Hardware

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 02-06-2007, 05:48 PM
Geoff Welsh
Newsgroup Contributor
 
Posts: n/a
SSH in Terminal, retrieve files

While SSH'd from my home directory on my machine to my home directory on
another machine.....how to I "get" (like ftp) a file from there to here?

I'm guessing there is some long name for my machine I don't know and
that I just need to scp in reverse?
thanks
GW
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 02-06-2007, 05:48 PM
  #2 (permalink)  
Old 02-06-2007, 05:48 PM
David Magda
Newsgroup Contributor
 
Posts: n/a
Re: SSH in Terminal, retrieve files

Geoff Welsh <geoffdubya@some.rr.com> writes:

> While SSH'd from my home directory on my machine to my home
> directory on another machine.....how to I "get" (like ftp) a file
> from there to here?


Either sftp or scp.

(Sftp should not be confused with the regular FTP protocol running
over SSL/TLS.)

--
David Magda <dmagda at ee.ryerson.ca>, http://www.magda.ca/
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 02-06-2007, 05:48 PM
Shawn Hearn
Newsgroup Contributor
 
Posts: n/a
Re: SSH in Terminal, retrieve files

In article <WJD%d.44202$VD5.42806@twister.socal.rr.com>,
Geoff Welsh <geoffdubya@some.rr.com> wrote:

> While SSH'd from my home directory on my machine to my home directory on
> another machine.....how to I "get" (like ftp) a file from there to here?
>
> I'm guessing there is some long name for my machine I don't know and
> that I just need to scp in reverse?


Use sftp. You could use scp instead, but I find sftp to be easier.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 02-06-2007, 05:48 PM
Geoff Welsh
Newsgroup Contributor
 
Posts: n/a
Re: SSH in Terminal, retrieve files

David Magda wrote:

> Geoff Welsh <geoffdubya@some.rr.com> writes:
>
>
>>While SSH'd from my home directory on my machine to my home
>>directory on another machine.....how to I "get" (like ftp) a file
>>from there to here?

>
>
> Either sftp or scp.
>
> (Sftp should not be confused with the regular FTP protocol running
> over SSL/TLS.)
>

Sorry I wasn't specific enough in my question.
Given that I can transfer a file from my User/me folder to my friends
(remote) machine by typing:
scp file.xxx myusername@thatmachine.something.net:file.xxx

and that I can SSH to that remote machine by typing:
ssh myusername@thatmachine.something.net

Does anyone have an idea what I would type to get something from there
back to here?

My Unix knowledge is basicly one small cheat sheet with very specific cases.

GW
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 02-06-2007, 05:48 PM
Bob Harris
Newsgroup Contributor
 
Posts: n/a
Re: SSH in Terminal, retrieve files

In article <53N%d.53297$xX3.42627@twister.socal.rr.com>,
Geoff Welsh <geoffdubya@some.rr.com> wrote:

> David Magda wrote:
>
> > Geoff Welsh <geoffdubya@some.rr.com> writes:
> >
> >
> >>While SSH'd from my home directory on my machine to my home
> >>directory on another machine.....how to I "get" (like ftp) a file
> >>from there to here?

> >
> >
> > Either sftp or scp.
> >
> > (Sftp should not be confused with the regular FTP protocol running
> > over SSL/TLS.)
> >

> Sorry I wasn't specific enough in my question.
> Given that I can transfer a file from my User/me folder to my friends
> (remote) machine by typing:
> scp file.xxx myusername@thatmachine.something.net:file.xxx
>
> and that I can SSH to that remote machine by typing:
> ssh myusername@thatmachine.something.net
>
> Does anyone have an idea what I would type to get something from there
> back to here?
>
> My Unix knowledge is basicly one small cheat sheet with very specific cases.
>
> GW


scp myusername@thatmachine.something.net:file.xxx file.xxx

or

sftp thatmachine.something.net
Username: myusername
Password: xxxxxx
sftp> get file.xxx
sftp> bye

Bob Harris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 02-06-2007, 05:48 PM
jes.t.er@hexduxhmp.org
Newsgroup Contributor
 
Posts: n/a
Re: SSH in Terminal, retrieve files

Geoff Welsh <geoffdubya@some.rr.com> wrote:
: scp file.xxx myusername@thatmachine.something.net:file.xxx
:
: and that I can SSH to that remote machine by typing:
: ssh myusername@thatmachine.something.net
:
: Does anyone have an idea what I would type to get something from there
: back to here?

scp myusername@thatmachine.something.net:file.xxx file.xxx

: My Unix knowledge is basicly one small cheat sheet with very specific cases.

Does your small cheat sheet contain the command 'man'? :)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 02-06-2007, 05:48 PM
Geoff Welsh
Newsgroup Contributor
 
Posts: n/a
Re: SSH in Terminal, retrieve files

Bob Harris wrote:

>>Does anyone have an idea what I would type to get something from there
>>back to here?
>>GW

>
> scp myusername@thatmachine.something.net:file.xxx file.xxx
>
> or
>
> sftp thatmachine.something.net
> Username: myusername
> Password: xxxxxx
> sftp> get file.xxx
> sftp> bye
>
> Bob Harris

That's the ticket!!!!
Although I had to modify the sftp line to include "me@that..." both
methods work nicely. Thank you very much.
GW
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8 (permalink)  
Old 02-06-2007, 05:48 PM
Geoff Welsh
Newsgroup Contributor
 
Posts: n/a
Re: SSH in Terminal, retrieve files

jes.t.er@hexduxhmp.org wrote:

>> Geoff Welsh <geoffdubya@some.rr.com> wrote:
>> My Unix knowledge is basicly one small cheat sheet with very specific cases.

>
> Does your small cheat sheet contain the command 'man'? :)


No but it has "dude".....(lol...sorry)
Ah yes, I have "man - gets the manual for an application"

GW
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Drive Saved / How to Retrieve E-Mail and Other Files? jam05xyz Windows XP 12 09-19-2007 02:02 AM
Hard Drive Saved / How to Retrieve E-Mail and Other Files? jam05xyz Windows XP 0 09-19-2007 01:52 AM
Possible To Retrieve Data Files From A Complete PC Backup Dell Boy Windows Vista 8 09-18-2007 11:31 PM
Cannot retrieve backup files Ray Windows Vista 2 04-04-2007 11:30 PM
How do I retrieve downloaded files from temp folder ghellum Microsoft Office 1 01-26-2007 06:30 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 05:29 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0