[Spce-user] Lost SSH after upgrade

Alex Lutay alutay at sipwise.com
Mon Jun 12 19:07:26 EDT 2017


So, what is your problem exactly?
You cannot establish TCP connect or system doesn't accept your
password/key? Option -v will help you here: ssh -v <you_ip>

Also check: netstat -anp | grep 22
Does sshd listens proper IP?

Any hints inside auth.log?

On 06/12/2017 07:10 PM, Anthony Sanchez wrote:
> root at spce:~# /etc/init.d/ssh
> [info] Usage: /etc/init.d/ssh
> {start|stop|reload|force-reload|restart|try-restart|status}.
> root at spce:~# /etc/init.d/ssh status
> [ ok ] sshd is running.
> 
> 
> On Mon, Jun 12, 2017 at 11:56 AM, Alex Lutay <alutay at sipwise.com
> <mailto:alutay at sipwise.com>> wrote:
> 
>     Hi,
> 
>     This is hard to say something from this side.
> 
>     You can't connect or your credentials were not accepted?
> 
>     Obviously you need to connect the system using terminal/console
>     and check sshd state, is IP listening there correct,
>     then you can check /var/log/auth.log to see the reason why
>     you login attempt was rejected.
> 
>     I do not recall mr5.3.1 changes which can affect SSHd.
>     BTW, did you access system using password or key?
> 
>     I see one option moved to config.yml:
>     > 17:55:25 ✔ taurus:(mr5.3.1)~/sipwise/git/templates$ git diff
>     mr5.2.1 mr5.3.1  -- system/sshd_config
>     > diff --git a/system/sshd_config b/system/sshd_config
>     > index 9163032..8f83735 100644
>     > --- a/system/sshd_config
>     > +++ b/system/sshd_config
>     > @@ -67,7 +67,7 @@ PermitEmptyPasswords no
>     >  ChallengeResponseAuthentication no
>     >
>     >  # Change to no to disable tunnelled clear text passwords
>     > -#PasswordAuthentication yes
>     > +PasswordAuthentication [% sshd.password_authentication %]
>     >
>     >  # Kerberos options
>     >  #KerberosAuthentication no
>     > 17:55:27 ✔ taurus:(mr5.3.1)~/sipwise/git/templates$
> 
>     While default value must not be changed there.
> 
>     Please share your progress there. Tnx!
> 
>     On 06/12/2017 05:42 PM, Anthony Sanchez wrote:
>     > Yesterday I did an upgrade from mr5.2.1 to mr5.3.1, after that ssh
>     > connections stops working.
>     > How can I get it working again?
> 
>     --
>     Alex Lutay


-- 
Alex Lutay



More information about the Spce-user mailing list