Tag Info

New answers tagged

2

Running SSH on an alternate port doesn't count as security anymore. It only adds a slight bit of obscurity, and an added step of complexity for your users. It adds zero obstacles for people looking to break your network, who are using automated port scanners and don't care what port it's running on. If you want to bolster security on a system that's ...


1

You can do this by starting two ssh daemons and two sshd_config files. Copy your existing one (e.g. from /etc/ssh/sshd_config /etc/ssh/sshd_alt_config and in the alternative config setup (from the man page for sshd_config: Port Specifies the port number that sshd(8) listens on. The default is 22. Multiple options of this type are permitted. See also ...


0

As an alternative to using the -t option to ssh to make the remote command terminate when the ssh client exits or (gets killed), a named pipe can be used to convert "EOF to SIGHUP" when the stdin of sshd is being closed (see Bug 396 - sshd orphans processes when no pty allocated). # sample code in Bash # press ctrl-d for EOF ssh localhost ' ...


3

By default, the OpenSSH server will look for authorized keys in .ssh/authorized_keys and .ssh/authorized_keys2 unless you set a different value for AuthorizedKeysFile in the configuration file at /etc/ssh/sshd_config. For the rest, I can't see any key file in the directory listing. Have you generated one using the ssh-keygen command?


2

Edit the ifcfg for this interface. For example, using wlan0. /etc/sysconfig/network-scripts/ifcfg-wlan0 Verify that the ONBOOT selection is enabled. ONBOOT="yes" Configure services to run at boot chkconfig messagebus off chkconfig wpa_supplicant off chkconfig NetworkManager off chkconfig network on Reference link


14

I suspect you're OS is using DES password encryption, which only supports a maximum of 8 characters. http://serverfault.com/questions/361591/ssh-accepts-only-the-half-password From man crypt(3) GNU EXTENSION The glibc2 version of this function has the following additional features. If salt is a character string starting with the ...


21

This is not a limitation on the part of your SSH server, this is a limitation on the part of your server's method to encrypt passwords. When encrypting passwords on Unix, the crypt() function is called. This may use one of many backends, a possibility is using DES, or another limiting algorithm (for this particular case, I will assume your server is using ...



Top 50 recent answers are included