On 04/20/2018 11:06 AM, doguibnu wrote:
>
> I need open my ssh connection for remote support.
> It is installed and open in SuSE firewall. Inside my network I can
> access normally but by public/static IP not
Show us the command that works. Are you using ‘root’? Which IP address
are you using on the client and server sides of the connection?
When it does not work, what do you mean by “public connection” or “public
IP”? A 10.x.x.x address is, by definition, not routable on the Internet,
so if you try to access a work box at 10.x.x.x from your home, without
some kind of VPN, it will never get there.
> I have other server that works ok by public connection ssh
What do you mean, exactly? What is the source and destination IP? Which
user are you using for the connection? Password or using keys or other?
> Putty Give me:
> login as: root
> Using keyboard-interactive authentication
> Password:
> Access Denied
This looks like you have either the wrong password, or else the system is
blocking ‘root’ by default. Try a non-root user instead.
> I did read about sshd_config
>
> # port 22 was commented
> # PermitRoot no was comment
>
> I make backup (sshd_config)
> Change the parameters
>
>
> Code:
> --------------------
>
> Port 22
> #AddressFamily any
> ListenAddress 10.1.1.22
> #ListenAddress ::
>
> # Authentication:
>
> #LoginGraceTime 2m
> PermitRootLogin yes
> #StrictModes yes
> #MaxAuthTries 6
> #MaxSessions 10
>
>
> --------------------
>
>
> Save
> sudo systemctl restart sshd.service
> sudo system restart SuSEfirewall2
>
> NOT work
How did it not work? What did you try, and what was shown as output?
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.