0
votes
1answer
27 views

Preview .html file from remote AWS EC2 instance on local machine's browser

From this and this I've gathered that I should ssh into my ec2 instance from my Mac by: ssh -C -c blowfish -X -i user.pem user@hostname.com This accomplishes X11 forwarding. Afterwards, how do ...
0
votes
1answer
67 views

Cant have passworldess ssh between 2 ec2 servers - Permission denied (publickey)

I created 2 aws ubuntu 12.04 servers I uploaded the id_rsa and id_rsa.pub files to both servers I ran the below on both servers chmod 600 id_rsa* eval `ssh-agent -s` ssh-add ~/.ssh/id_rsa What ...
1
vote
1answer
165 views

SSH remote commands very slow after migrating from 12.10 to 14.04 on EC2

I had a number of 12.10 machines running on EC2 and provisioned them using scripts built around: ssh scp rsync Now I have replaced most of my 12.10 machines with 14.04 machine and am finding that ...
1
vote
1answer
41 views

ec2 ubuntu access requesting password after ssh update

I was trying to set up an sftp account and one of the forums suggessted that we comment out PAM access. I now think that is how the user ubuntu has access and so I can no longer access my ec2 instance ...
0
votes
1answer
522 views

sudo: ruby: command not found after ssh

I'm working with ec2 instances and was trying to execute a ruby script on another instance after ssh to that instance. I have a ruby script which updates configuration files, so i need to run that ...
2
votes
0answers
71 views

How to access Amazon EC2 instance from Ubuntu 13.10?

I have an Amazon EC2 (Windows) instance which has been created for me and I have public DNS, public IP and the public key. I would like to RDP to this instance from Ubuntu 13.10. I have recently ...
1
vote
0answers
113 views

How to ssh tunnel to ec2 for running a local python script

I can create a tunnel for FF using the below on Ubuntu. Machine is 12.04 in a VBox on a mac host. -i ~/.ec2/aws_development_oregon.pem -C2qTnN -D 8080 ubuntu@test.com But..what I need is for my ...
0
votes
0answers
198 views

How to connect to Amazon EC2 desktop AMI instance

I have started an EC2 instance from Raring Desktop AMI image. However i am not able to do the standard ssh -i ubuntu@host type login on this machine. I get the following error: Permission denied ...
0
votes
1answer
177 views

Terminal freezes on running apt-get or vim

I am using Ubuntu 13.04 on my laptop. I ssh to my EC2 instance which is running Ubuntu 12.04.3 and every time I run sudo apt-get update, it prints some lines and then the terminal freezes. ...
0
votes
1answer
1k views

Login to webmin with user has no password (SSH)

I have an simple Ubuntu 12.04 instance running on AWS EC2 I have webmin installed and accessable, but am presented with a login requiring username and password. As part of the AWS install, you don't ...
0
votes
1answer
226 views

Create folders in remote server after ssh login using commands

I need to create folders on the remote server, i try to ssh to the server and then create folders. The logs display that the ssh is successful but it stops after that and the screen stays at the home ...
0
votes
2answers
834 views

How to change the default user name from ubuntu to something else on EC2 AMI

How can I create a new Ubuntu AMI so that when a new instance is created the SSH credentials are copied under a different user than ubuntu (e.g. /home/administrator/.ssh/)? In short, I need to be ...
1
vote
1answer
248 views

“Permission denied (publickey).” error when trying to ssh into server

I am trying to connect to a server via SSH. I am getting the following log from using the command: ssh -vvvT ubuntu@ec2-176-34-121-133.eu-west-1.compute.amazonaws.com. Please could someone help me ...
2
votes
3answers
615 views

How do I start an SSH session from the Unity desktop with arguments (-i)?

Using SSH in a GNOME terminal is fine. But I want to use it in a Unity window (the location text field, ctrl+l). I need to refer to my .PEM x509 certificate for security reasons to connect to my ...
4
votes
2answers
1k views

What is the best way to secure my EC2 server in regards to the SSH?

I have a Amazon ec2 instance, and was curious on if I should change the username (the default is ubuntu) or not? Since you need a public SSH key in order to access the server, I don't think you do, ...
3
votes
1answer
3k views

“Server refused our key” when logging into Ubuntu on EC2 as a different user

We created an AWS micro instance running Ubuntu 10.04, and we can putty in as the "ubuntu" user using the key pair just fine. Now I've created two new users, but when I try to putty into the instance ...
3
votes
1answer
3k views

In AWS Ubuntu AMI server refused our key while SSH login

I just have created a large-instance for ubuntu-AMI on Amazon ec2. generated a key pair & ssh open in firewall. now using puttygen i got ppk file since i am using window machine. now using publuc ...
27
votes
5answers
110k views

Adding SSH Keys to Authorized_Keys

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of the authorized_keys file for SSH. Luckily I have an SSH open, so I am still ...