Hi I'm trying to disable password login for all users except one, "foo". That way, for example, I can login as "bar" with public key but not password. And I can login as "foo" with password.
I tried this config:
AllowUsers foo bar
Match User !foo
When using ssh to connect to FreeBSD 11.0 the link will occasionally shut down with the following in /var/log/messages
Aug 23 14:45:11 karen sshd: fatal: Fssh_packet_write_poll: Connection from 174.77.777.77 port 57670: Permission denied
If no program is running in the shell, the link...
Ok new problem today. I'm being asked to connect all of my FreeBSD 11.0 Servers to a radius server for ssh. I have created the /etc/radius.conf file and added my servers both auth and acct lines with the secret.
auth server1.f.q.d.n secret
acct server1.f.q.d.n secret
I have modified my...
if I try to recreate the keys for sshd with
the private key ssh_host_dsa_key and public key ssh_host_dsa_key.pub are not created.
I take a look into the script
I have a sftpgroup and I want the user's of this group only can use sftp and nobody can't ssh.
this is my sshd config:
Match Group *,!sftpgroup
Now, I want to root only can ssh to my...
After some testing I've found out that my FreeBSD sshd daemon takes more CPU time than other OS (11% vs 6%). The same usage for 20Mb/s and for 90Mb/s.
It doesn't matter from where I start SSH session. Please look at the following information.
#1 OS: FreeBSD 11.0-RELEASE-p3
All right gone until move my desktop with 2 PC (pc1:FreeBSD 10.1, pc2:Windows 7 pro)
I use all days connection on my server in data housing with SSH via VPN routers.
Now, I can connect on my server with pc2 on Putty.
But I can't connect with pc1.
I don't understand.
# ssh -vv...
I have two ISP connected to server and run sshd daemon for two IPs. Unfortunately, I can connect only via first IP. I can ping from both IPs. Please look at my configs.
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 A.B.C.D.22 *.*...
I am working on my git server, and SSH its claiming about have no access to /dev/tty inside of jail.
After read about this issue, I have found is need setup on /etc/rc.conf to start it using:
And on my jail.conf I need use devfs_ruleset, the level 3 and 5...
I have a jail running and the network configuration is done by the host's /etc/jail.conf. The behavior is that when the jail boots, sshd listens to the correct ipv4 address listed in the /etc/ssh/sshd_config, however it doesn't listen to the ipv6 address. I did attempt to set it to :: to see if...
I just changed my SSH port number to 3232.
The SSH connection is working, but when I tried to make it on SFTP, FileZilla says:
Command: open "jeff@...." 3232
Error: Connection timed out
Error: Could not connect to server
The pf.conf file is also already configured to the new...
today I'm update my system to 10.1-p26
and then I found the power supply are failure so it can't boot
after I changed the power supply, I can login the system, but start got scrambled text
it appears randomly on any screen output
for example, run ls on /etc twice: