ssh/scp

kitepilot at kitepilot.com kitepilot at kitepilot.com
Thu Mar 15 10:11:25 MST 2012


There is not SSH server running in 192.168.0.3 or you have a firewall 
blocking the port. 

 From 192.168.0.3 do:
telnet localhost 22
If the connection dies, nothing will be able to connect EVEN if the SSH ser 
is running (which I doubt) 

Once you validate that the SSH server is running in 192.168.0.3, and 
accessible to localhost (127.0.0.1) then go to the other box and do:
telnet 192.168.0.3 22
If you don't get an answer, you have a firewall problem.
YMMV
ET 

 


Michael Havens writes: 

> I want to copy a folder from Michaels-Laptop to Michaels-PC across the
> network. I am logged in to Michaels-Laptop via ssh on the PC. WHat am I
> doing wrong? 
> 
> bmike1 at Michaels-PC:~$ ssh 192.168.0.4 
> 
> bmike1 at 192.168.0.4's password:
> Welcome to Linux Mint 12 Lisa (GNU/Linux 3.1.4-030104-generic i686)
> Welcome to Linux Mint
>  * Documentation:  http://www.linuxmint.com
> Last login: Thu Mar 15 01:03:46 2012 from 192.168.0.3
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: No module named virtualenvwrapper.hook_loader
> virtualenvwrapper.sh: There was a problem running the initialization hooks.
> If Python could not import the module virtualenvwrapper.hook_loader, check
> that virtualenv has been installed for
> VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is set properly.
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ImportError: No module named virtualenvwrapper.hook_loader
> virtualenvwrapper.sh: There was a problem running the initialization hooks.
> If Python could not import the module virtualenvwrapper.hook_loader, check
> that virtualenv has been installed for
> VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is set properly. 
> 
> bmike1 at Michaels-Laptop ~/Pictures $ scp -v 2009-Move.from.Florida
> bmike1 at Michaels-PC:/home/bmike1/Pictures/
> Executing: program /usr/bin/ssh host Michaels-PC, user bmike1, command scp
> -v -t -- /home/bmike1/Pictures/
> OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug1: Connecting to Michaels-PC [204.232.231.46] port 22.
> debug1: connect to address 204.232.231.46 port 22: Connection timed out
> debug1: Connecting to Michaels-PC [66.152.109.24] port 22.
> debug1: connect to address 66.152.109.24 port 22: Connection timed out
> ssh: connect to host Michaels-PC port 22: Connection timed out
> lost connection 
> 
> bmike1 at Michaels-Laptop ~/Pictures $ scp -v 2009-Move.from.Florida
> 192.168.0.3:/home/bmike1/Pictures/
> Executing: program /usr/bin/ssh host 192.168.0.3, user (unspecified),
> command scp -v -t -- /home/bmike1/Pictures/
> OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug1: Connecting to 192.168.0.3 [192.168.0.3] port 22.
> debug1: connect to address 192.168.0.3 port 22: Connection timed out
> ssh: connect to host 192.168.0.3 port 22: Connection timed out
> lost connection
> bmike1 at Michaels-Laptop ~/Pictures $ 
> 
> 
> -- 
> :-)~MIKE~(-:


More information about the PLUG-discuss mailing list