O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
PuTTY is a widely used ssh client to connect and manage Linux/Unix/OS X servers. Outside of PuTTY's wide array of features there are two additional tools that can help you be even more productive...
Minimizing access to critical resources is standard practice when securing any system. In this excerpt from Ryan Troy & Matthew Helmke's VMware Cookbook you'll learn how to allow or deny users the u...
Over on Slashdot user borjonx writes "Is it safer to log out of an SSH session, and re-establish it later, or just keep the connection open? Like many of you, I use OpenSSH to connect to my Slack...
Sure, you know that the prompt changes to display the
remote hostname when you're logged in via SSH. But it's just a dumb
little black-and-white prompt, and it's easy to make mistak...
If you would like to automate your rsync over ssh backups, try this solution from Linux Cookbook:
Write a script, create a cron job, and set up keychain to authenticate to your remote
host...
If you want to use rsync to copy files to another PC over a
LAN, or over the Internet, and you want encrypted transport and
authentication, usersync over ssh. ssh must be set up and ...
You like running remote X sessions, but you know that
they are completely insecure. Run X over SSH by enabling X forwarding on the SSH server, in /etc/ssh/sshd_config. Then use the
...
To generate separate sets of keys for accessing different hosts, or different types of accounts, use ssh-keygen. For example, you would like one SSH key for administering an FTP server, and a differen...
This will let you use your SSH private-key passphrase instead of your system login, which means your system login is protected, and you can reuse the same public/private key pair for as many remote ho...
If you looked in /etc/ssh and didn't see any key files or you just want to create new host keys yourself, use ssh-keygen to create a new key pair. This must be done as root, and you have to specif...