LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 11-20-2007, 06:21 AM   #1
Simsam Hijjawi
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Secure file transfer through SSH session


Hello everybody,

I have a remote SSH connection to remote Linux SUSE machine, I am using Putty to connect to my firewall then connect from the same session to that remote machine.

I have a file located on the remote machine, how could I transfer it either to my FW machine or to my local machine?

Regards,
Simsam
.
 
Old 11-20-2007, 07:11 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Hi and welcome to LQ. You could use the scp command e.g.
Code:
scp user@host:/path/to/remote/file /path/to/local/file
 
Old 11-21-2007, 12:36 AM   #3
Simsam Hijjawi
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reddazz View Post
Hi and welcome to LQ. You could use the scp command e.g.
Code:
scp user@host:/path/to/remote/file /path/to/local/file
Thank you

I got the following notification when I have used the above command with the following parameters:

scp user@host:/path/to/remote/file /path/to/local/file
ssh: my-machine-name: Name or service not known


scp my-machine-IP:/path/to/remote/file /path/to/local/file

ssh_exchange_identification: read: Connection reset by peer

Sounds that there is a problem in the ssh session authentication because I am able to ping the remote machine and not able to ping my machine from the remote 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
Secure file transfer server - tools ? taphagreg Linux - Security 1 03-19-2007 10:52 PM
Building a Secure File Transfer Gateway - thoughts please taphagreg Linux - Server 2 03-15-2007 01:43 PM
LXer: University of Michigan Selects SSH Tectia for Secure System Administration and Secure File Transfers LXer Syndicated Linux News 0 04-25-2006 12:54 AM
closing SSH session without killing the SFTP transfer on the remote machine stevec Linux - Software 2 04-20-2006 05:13 PM
[most secure, open source, client/server file transfer program] Synesthesia Linux - Software 5 11-28-2005 08:20 PM


All times are GMT -5. The time now is 09:48 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