LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-04-2003, 10:21 AM   #1
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Rep: Reputation: 30
SMB server running in the local network


I have two Linux machines, first Slackware 9.0 and then Redhat 8.0. I do ssh 192.168.25.3 to connect Slackware and everything is OK but how can I copy files from the Slackware to Redhat, Im tried with cp filename /home/Redhat but always copy the file to Slackware machine, how can I copy from Slack to Redhat using SSH?. Also I'm trying to access Redhat box in the Networks Servers menu, "Network neighboarhood" of Slackware, but appear me an error "Couldn't display "smb:///", because Nautilus cannot contact the SMB master Browser. Check that an SMB server is running in the local network.". What is the problem? , what can I do? Thanks

Last edited by Gerardoj; 07-04-2003 at 11:05 AM.
 
Old 07-04-2003, 12:23 PM   #2
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
you can use either sftp which is like ftp but secure or you can use scp (secure copy).

#sftp username@ipaddress

scp can be more confusing if you have never used it because you have to know the path of the files (or atleast 1)

an example i use:

#scp root@server:/usr/local/src/cs_1005.tar.gz ./

that will copy cs_1005.tar.gz FROM THE REMOTE SERVER to the current directory im in now ( ./ )

if you want to copy from the machien u are on TO the remote machine:

#scp /usr/local/src/file root@server:/usr/local/src/

that will copy file from the current machine to the src directory on the
remote machine.


the full syntax is:


#scp user@machine:/path/to/file user@machine2:/path/to/file

where the 1st set is where the file is comming FROM and the second set is where the file is going TO.


do a "man scp" for the details and options (if there are any options..not sure)


for sftp you just log in and do the "get" and "put" commands to transfer files.

Last edited by Robert0380; 07-04-2003 at 12:24 PM.
 
Old 07-04-2003, 12:41 PM   #3
Gerardoj
Member
 
Registered: May 2003
Location: Somewhere over the Rainbow
Distribution: Slackware 9.x, Knoppix, Damn Small Linux, RedHat.
Posts: 465

Original Poster
Rep: Reputation: 30
Thanks now works.

Last edited by Gerardoj; 07-04-2003 at 09:35 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
local imap server running fetchamil lmcilwain Linux - Software 12 09-20-2005 07:30 AM
my web server can't be reached by local network tiang_ono Linux - Software 4 07-14-2005 08:02 PM
Can't access external server from local network newuser455 Linux - Networking 7 05-30-2005 12:47 AM
two network cards - one for local network, one for http/vsftpd server scottster Linux - Networking 1 01-20-2005 08:52 PM
Unable to login as local user with vsftpd running on the server kairamr Linux - Newbie 1 06-09-2004 02:25 PM


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