I am new to the Linux world and trying to learn how to use SSH with LearnLinuxTV; the author, Jay, created a user ssh_config with:
Host myserv
Hostname xxx.xxx.x.xx
Port 22
User root
I can connect via ssh gusop@tty.sdf.org with the following in ~/.ssh/config:
Host sshtrainingserver
tty.sdf.org
Port 22
User gusop
After saving the file, I can't
ssh sshtrainingserverorssh gusop@tty.sdf.orgto work, always getting the following error; however, after deletingconfig, ssh works again.Bad owner or permissions on /home/gusop/.ssh/configls -l ~/.ssh/config:-rw-rw-r-- 1 Gusop Gusop 108 Mar 12 10:42 config
Could you please explain what is happening, as it feels like SSH doesn't like the config file?