Page 1 of 1

SSH connection

Posted: Sun Jan 10, 2016 6:37 am
by SalemAlqahtani
Hi guys,

I am trying to connect from pi to the laptop via ssh. I am apple to connect form laptop to raspberry pi but I could not do it form pi to my laptop.

This what is happening.

Code: Select all

my laptop is the server and it has static ip address 192.168.0.7
my pi is the client and it has not static ip address 192.168.0.8

pi@raspberrypi ~/.ssh $ ssh sss@192.168.0.7Password:
Password:
Password:
Permission denied (publickey,keyboard-interactive).
pi@raspberrypi ~/.ssh $ 

It asked me the server password and i try to enter it but it was not able to take it.

This is the ssh files on raspberry

Code: Select all

pi@raspberrypi ~/.ssh $ ls
authorized_keys  id_rsa  id_rsa.pub  known_hosts

Please I need some suggestions

Re: SSH connection

Posted: Sun Jan 10, 2016 9:55 am
by Navyscourge
The Pi is all set up as a SSH server, so recognises any requests from your laptop and makes the connection.

Windows does not have this; you need to install it. It is not recognising / accepting the requests from the Pi. Have you done this? There are instructions here: https://winscp.net/eng/docs/guide_windo ... ssh_server

Why do you want to do it? There may be other problems with user permissions and firewall

Re: SSH connection

Posted: Sun Jan 10, 2016 4:14 pm
by SalemAlqahtani
Hi there,

I wanna connect pi to mac ( as a server) because I want to send an images through the socket connection from pi to process over the server ( laptop ).

Re: SSH connection

Posted: Sun Jan 10, 2016 4:22 pm
by DirkS
SalemAlqahtani wrote:I wanna connect pi to mac ( as a server)
Did you enable the ssh server on the mac?
http://osxdaily.com/2011/09/30/remote-l ... -mac-os-x/

Re: SSH connection

Posted: Thu Jan 14, 2016 4:34 am
by SalemAlqahtani
Yes, I did

Re: SSH connection

Posted: Thu Jan 14, 2016 5:49 am
by stderr
SalemAlqahtani wrote:Please I need some suggestions
Run ssh with -v -vv or -vvv so you can get more information about what it is trying and why it is dying.