Tag Info

New answers tagged

3

Configuring an SSH server to accept any password would be easy with PAM — put pam_permit on the auth stack, and voilà. The possibility of misconfiguring such an open system is inherent to the flexibility of PAM — since it lets you chain as many tests as you want, the possibility of doing 0 tests is unavoidable (at least without introducing weird exceptions ...


2

A # in sshd_config is interpreted as the beginning of a comment and everything following it is ignored. Although (according to sshd_config(5)) "" may be used to quote arguments containing spaces, they do not quote #. That also explains the error you get. sshd only passes the following to bash: if [[ -z $SSH_ORIGINAL_COMMAND ]]; then bash; else printf " ...


1

After finding sshd process inoperative, I noticed that something similar is happening, but instead of a missing module, it was something with sshd_config. Check status of the daemon: user1@<host>:/usr/sbin > lssrc -s sshd Subsystem Group PID Status sshd ssh inoperative Attempt to ...


1

Try this command to view the log from systemctl: journalctl -u sshd |tail -100


0

I had a error with sftp configuration part of etc/ssh/sshd_config. Now I can't send correct part, but commenting lines this at end of config allow to login via ssh


4

This is caused by your client rather than the server. The login as: prompt is PuTTY's own, and it won't display the banner before a username is entered. If you're using shared keys, then the banner will be displayed at key exchange time, even if the key goes on to be rejected.



Top 50 recent answers are included