Tag Info

Hot answers tagged

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


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 ...



Only top voted, non community-wiki answers of a minimum length are eligible