News
Articles, sustainability work, and the occasional take on what it means to keep critical systems running.
Filters
Tags
Year
SSH config file template
Make sure permissions are correct on ssh config # create config file touch ~/.ssh/config chmod 600 ~/.ssh/config SSH config examples Host fivemin HostName 10.13.37.5 User five Port 22 IdentityFile ~/.ssh/fivemin.key…
/usr/bin/ssh-copy-id: ERROR: failed to open ID file
SSH-COPY-ID is unable to find the public and private key pair ... If you renamed the default id_rsa to mykey.key, try to remove the ".key" part of the filename and re-run the command. An alternative is to use the -f…
SSHD not recognizing authorized keys, hint: check permissions on file
Check permissions on the files # = comments [www@eolsystem ~]$ chown -R kevin:kevin ./ssh # change ownership recursive user:group folder [www@eolsystem ~]$ chmod 700 .ssh/ # change file mode bits on folder…
Exclude my host from tcpdump
Connecting to a host through ssh and monitoring the connection with tcpdump spews out a lot of information. Say that we have a peculiar situation, we want to monitor ssh traffic on the server, but not our connection…