Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pcfast

macrumors member
Original poster
Mar 22, 2013
71
0
I am trying to transfer files from my iBook to my laptop running Linux Mint using the SCP command in the Mac terminal. I keep getting this error though'

Code:
ssh: connect to host [I]Linux IP Address[/I] port 22:Operation timed out lost connection

I'm entering everything in correctly. Here is how I do it;

Code:
scp -r /Users/pcfast/Desktop/test_file.png pcfast@192.168:/home/Desktop

Looks like the Terminal version is 1.4.6.
 
@gavinstubbs09 - Not sure what you mean. Can you clarify?

I double checked the IP btw. It is the right one.
 
can you ping the IP address of the Linux machine ok from your iBook?
Code:
ping -c 5 192.168.x.x
Where you need to replace the x's with the correct address for the Linux box.

If that works, have you setup opens-server on Linux Mint, made sure the service is running and that there isn't a firewall blocking it?

On your Linux box I would try running
Code:
ssh 192.168.x.x
Where you need to replace the x's with the correct address for the Linux box.

Just to make sure the server is running ok.
 
@Dark Dragon - The ping worked but I still got the same connection error when running the second command you suggested.
 
@Dark Dragon - The ping worked but I still got the same connection error when running the second command you suggested.

Ok, so the network connection is good. The problem is with the Linux machine.
How did you setup ssh on the Linux machine?
 
I just ran the command to install it and have not configured it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.