mickey1940
Posts: 10
Joined: Sun Jan 03, 2016 9:29 pm

SSH problems

Sun Jun 16, 2019 8:28 pm

I have installed Rasp-pi on my Rasperry-Pi and then installed RAK-Gateway.

Ip-Address 192.168.10.10

Hostname in /etc/hostname: rak-gateway

Before installing rak-gateway I could ssh -l pi 192.168.10.10 connect from my PC to Rasp-Pi

If I run :
[root@localhost mickey]# ssh -vvv rak-gateway 192.168.10.10
OpenSSH_7.8p1, OpenSSL 1.1.0i-fips 14 Aug 2018
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 52: Including file /etc/ssh/ssh_config.d/05-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf
debug3: /etc/ssh/ssh_config.d/05-redhat.conf line 2: Including file /etc/crypto-policies/back-ends/openssh.config depth 1
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-gex-sha1-,gss-group14-sha1-]
debug3: kex names ok: [curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1]
debug1: /etc/ssh/ssh_config.d/05-redhat.conf line 8: Applying options for *
debug2: resolving "rak-gateway" port 22
ssh: Could not resolve hostname rak-gateway: Name or service not known

and

[root@localhost mickey]# ssh -vvv 192.168.10.10
OpenSSH_7.8p1, OpenSSL 1.1.0i-fips 14 Aug 2018
debug1: Reading configuration data /etc/ssh/ssh_config
debug3: /etc/ssh/ssh_config line 52: Including file /etc/ssh/ssh_config.d/05-redhat.conf depth 0
debug1: Reading configuration data /etc/ssh/ssh_config.d/05-redhat.conf
debug3: /etc/ssh/ssh_config.d/05-redhat.conf line 2: Including file /etc/crypto-policies/back-ends/openssh.config depth 1
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug3: gss kex names ok: [gss-gex-sha1-,gss-group14-sha1-]
debug3: kex names ok: [curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1]
debug1: /etc/ssh/ssh_config.d/05-redhat.conf line 8: Applying options for *
debug2: resolve_canonicalize: hostname 192.168.10.10 is address
debug2: ssh_connect_direct
debug1: Connecting to 192.168.10.10 [192.168.10.10] port 22.


At this point it just hangs up and does nothing( on my PC)

Running: [root@localhost mickey]# systemctl start sshd.service
Comes back with No Errors ( On my PC)

And SSH on Rasp-pi is Enabled

User avatar
themaire
Posts: 24
Joined: Tue Mar 08, 2016 8:56 am

Re: SSH problems

Mon Jun 17, 2019 8:33 am

Hi.

Code: Select all

ssh pi@rak-gateway.local
is not working from your PC?
All my Raspberry Pi stuffs on my Twitter : @nico_themaire
:D

Return to “General discussion”