Below you will find pages that utilize the taxonomy term “ssh”
Blog
Make a Shortcut for SSH Connections
It could be really annoying to reenter the host name again and again if you are working over ssh and the host name is really long (i.e. mistral.ii.metu.edu.tr). Using this method, you can set a shorcut for the host name (i.e. mistral) and use it whenever you connect.
Open ~/.ssh/config for editing:
subl ~/.ssh/config Add your host definition as follows:
Host mistral HostName mistral.ii.metu.edu.tr User gbudak
Blog
Passwordless SSH for Mac/Linux
You don’t have to enter the ssh password everytime you make a connection. Use below method to generate a key, copy it to the host you want to connect and connect anytime without entering your password.
Generate a keygen:
1ssh-keygen Copy the key to remote host:
1ssh-copy-id root@linuxconfig.org
Blog
Uploading Files to AWS using SSH/SCP
Here is a small command for uploading files to AWS through SSH’s command scp (secure copy).
scp -i path/to/your/key-pairs/file path/to/file/you/want/to/upload ubuntu@PUBLIC_DNS:path/to/the/destination
Blog
AWS Start an Instance and Connect to it
Go to EC2 management console
Create a new key-pair if necessary and download it
Launch an instance
Add HTTP security group for web applications over HTTP
Get public DNS
Change permissions on key-pair file:
1chmod 400 path/to/your/file.pem Connect:
1ssh -i path/to/your/file.pem ubuntu@PUBLIC_DNS Note: ubuntu is for connecting an Ubuntu 64 bit instance. It’s different for others