hello linux guru's
I need a little bit help with a problem i'm having And DON'T understand why and how to resolve it.
I installed gentoo 2007 6.*.22-r5 No problems there.
After installing gentoo i installed samba server for a home network.
Now i want to lose the monitor and login remotly via a windows computer for updating and managing the system. To do this i knew gentoo had sshd standart so I added this to auto start by doing
# rc-update add sshd default
after this i had to edit the config file in
/etc/ssh/sshd_config
and wrote the folowing lines:
Port 22
Protocol 2
ServerKeyBits 2048
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 60
PermitRootLogin no
RSAAuthentication no
PubkeyAuthentication yes
PasswordAuthentication no
PermitEmptyPasswords no
PAMAuthenticationViaKbdInt no
Compression yes
KeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 4
After this I restarted sshd and to be sure I rebooted my system. ssh is running.
THE PROBLEM: when I connect with a client 'putty' it shows the login as: screen. I type in my username 'NOT ROOT becouse that is disabled' and hit enter
after doing this I get the following error message:
DISCONNECTED: No Supported authentication methods available
How do I resolve this problem and is it possible to login to KDE like remotedesktop in windows with sshd
thank
I need a little bit help with a problem i'm having And DON'T understand why and how to resolve it.
I installed gentoo 2007 6.*.22-r5 No problems there.
After installing gentoo i installed samba server for a home network.
Now i want to lose the monitor and login remotly via a windows computer for updating and managing the system. To do this i knew gentoo had sshd standart so I added this to auto start by doing
# rc-update add sshd default
after this i had to edit the config file in
/etc/ssh/sshd_config
and wrote the folowing lines:
Port 22
Protocol 2
ServerKeyBits 2048
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 60
PermitRootLogin no
RSAAuthentication no
PubkeyAuthentication yes
PasswordAuthentication no
PermitEmptyPasswords no
PAMAuthenticationViaKbdInt no
Compression yes
KeepAlive yes
ClientAliveInterval 30
ClientAliveCountMax 4
After this I restarted sshd and to be sure I rebooted my system. ssh is running.
THE PROBLEM: when I connect with a client 'putty' it shows the login as: screen. I type in my username 'NOT ROOT becouse that is disabled' and hit enter
after doing this I get the following error message:
DISCONNECTED: No Supported authentication methods available
How do I resolve this problem and is it possible to login to KDE like remotedesktop in windows with sshd
thank
Gentoo Ssh Root
There's an app on my Android called Home Remote Control Pro. It's basically a remote-control for your phone to Windows/Mac via a custom java-server and via Linux via ssh. I initially tried the free version and eventually paid for the full version (no ads and unlimited device connections) and things were working great. Then one day it all stopped working. I could no longer connect to my Gentoo desktop and received a simple 'Auth Fail' message in the app. The app still connects fine to my Windows 10 partition and connects fine to my Ubuntu laptop (via the custom java-server and a ssh server, respectively). I've had several back and forth emails with the dev, who can't seem to reproduce the issue and when my Ubuntu laptop was able to connect it made me realize that it's a problem with my Gentoo box somewhere.Some background info:
Most deployments of Gentoo Linux will already have OpenSSH installed on the system. This can be checked by running the sshcommand. If it is installed a usage statement should be printed: If no usage statement is printed sshis either corrupted. Also included is sshd which is the server side of the package, and the other basic utilities like ssh-add, ssh-agent, ssh-keysign, ssh-keyscan, ssh-keygen and sftp-server. OpenSSH supports SSH protocol versions 1.3, 1.5, and 2.0.
uname -a: |
Linux compy_gentoo 4.0.5-gentoo #2 SMP Sat Jul 18 11:32:20 EDT 2015 x86_64 Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz GenuineIntel GNU/Linux |
emerge openssh -pv: |
[ebuild R ] net-misc/openssh-6.9_p1-r2::gentoo USE='X hpn ldap ldns pam pie sctp skey ssl -X509 -bindist -debug -kerberos -libedit (-selinux) -ssh1 -static' 1,498 KiB |
Gentoo Ssd
Gentoo Ssh Install
Gentoo Ssh Connection Refused
Also, the following appears in my auth.log when I try to connect:
Code: |
error: Received disconnect from 192.168.1.11: 3: com.jcraft.jsch.JSchException: Auth fail [preauth] |
That IP is my internal IP (statically set by the router) for my phone. My computer is statically set to *.*.*.10. I do not use a public key - this is a password login. Interestingly, I have an SSH app that connects to this same computer just fine, so there's something about the way this app is connecting that isn't agreeing with my current setup. Unfortunately, the error that's thrown appears to be fairly generic and I'm not sure how to troubleshoot farther. Any thoughts?