2
votes
0answers
5 views

Error message while connecting to EC2 instance via Cygwin

I am trying to connect my EC2 instance using the directions my instructor provided below: "To connect to EC2 via Cygwin on Windows, you need to handle two key idiosyncrasies. First, the Windows ...
0
votes
0answers
7 views

I want to stop listing all files and folder using ip in web url of amazon ec2

I create a amazon ec2 instance. Not it is accessible through ip on web. But it is display all files and folders listing to all. So, any one can access my ip and show list all files and folders. I do ...
2
votes
1answer
30 views

Is it safe to work on a server via SSH while uploading files to it via an SFTP file manager?

I'm uploading a large amount of data onto a server via SFTP, and could start setting things up in non-related areas with SSH while waiting, but I'm curious as to whether doing the two simultaneously ...
0
votes
2answers
59 views

Unable to send files via SCP

I tried using the scp command with the -i option to transfer the file from local machine to remote EC2 instance: Akhis-Macbook-Pro:~ aswinakhilesh$ sudo scp -i Mykey.pem FileA ...
0
votes
0answers
254 views

ssh connection fails with timeout but telnet on port 22 is instant

I am trying to connect to an EC2 instance via ssh. I get a timeout after 80 seconds. If I telnet to the IP address using telnet. xxx.xxx.xxx.xxx 22 then I get an instant response. The EC2 instance is ...
3
votes
1answer
27 views

Provide access to another user on EC2 instance.

A friend of mine, wants me to access his ec2 instance. He does not want to share his secret file. I advised him to put my public ssh keys, in the ~/.ssh/authorized_keys of his ec2 instance. If ...
0
votes
0answers
45 views

Why does ssh stop accepting input after 24 characters?

I am noticing strange behavior right now with SSH. I am able to connect successfully to the host (which is an ec2 instance), and run commands. However, it stops accepting input after 24 characters. ...
0
votes
1answer
577 views

“Permission denied (publickey)” error when ssh'ing to Amazon EC2 Debian AMI 05f3ef71

I have launched a Debian system using AMI 05f3ef71 in Amazon EC2, but I have no lock connecting to it using SSH as suggested in "Connecting to Your Linux/UNIX Instances Using SSH". I tried several ...
0
votes
1answer
135 views

SFTP on Amazon EC2 instance with Debian adding limited access users

I have a amazon EC2 instance with debian 6.0 installed. I am using SFTP via SSH to transfer fileles to my sever. But With root key all the folders from server are exposed. How can I generate different ...
1
vote
2answers
187 views

Linux/SSH - get EC2 instance to read local .bashrc file

I have a custom .bashrc file with color codes locally on my Linux machine running Ubuntu 12.04 for both my user and root. I connect to Amazon EC2 instances daily running the same distro and would ...
0
votes
0answers
252 views

Reverse port forward with EC2

I have two computer behind NATs so I thought of using a free tier EC2 server as a SSH relay. Followed this simple tutorial http://www.acooke.org/cute/ReverseRem0.html which seemed pretty reasonable. ...
0
votes
1answer
2k views

Cannot find “.ssh” Folder on Mac

I am trying to build up a connection to Amazon EC2 via SSH. Sadly I cannot find the folder to put my .pem file in. When typing ~/.ssh In the terminal I get: No such file or directory I have ...
1
vote
3answers
129 views

Keep GUI app running after vncserver shutdown

I am trying to do the following: Connect through SSH to an Amazon EC2 instance Start a VNC server Connect through VNC Start a GUI application and log in Kill the VNC server but keep the GUI ...
1
vote
1answer
161 views

EC2 - run a script immediately after ssh login?

I don't even know if this is possible but I thought I'd ask anyays! I'm wondering, is it possible to run a script immediately after a SSH login? My thought is to make a python script that executes ...
1
vote
0answers
86 views

Can't ssh to ec2 after using afw

I just used ufw to enable port 1337 on my Ubuntu system for the first time. After that, my instance was fine, but port 1337 was still not open, so I changed the security group from the ec2 console. ...
0
votes
0answers
80 views

SSH into Linux box from EC2

I can't seem to ssh from my ubuntu EC2 server into my work linux box. From my work linux box, I can ssh into myself via ssh -p <my listening ssh port> <user>@<my ip> The same ...
2
votes
1answer
2k views

Allowing multiple users SSH access to Ubuntu instance running on Amazon Web Services

It seems as if similar questions have been asked before, but the issue that I am having hasn't been raised or answered as a part of the answers provided to the other questions. So... I'm using an ...
0
votes
1answer
403 views

Amazon EC2 linux user accounts

I have a Linux AMI setup on EC2. The default user is ec2-user. I created a second user account on the instance. I copied the .ssh/authorized_keys file from ec2-user home directory to the new user's ...
0
votes
2answers
48 views

Disable Amazon AWS Echo to Different SSH Connections

I am on a Power Mac OSX mountain lion. I ssh into an amazon aws ec2 instance. Then I want to ssh into the same aws ec2 instance. When I do any command in one connection it is echoed in the other ...
1
vote
1answer
253 views

scp over ec2 ignoring a directory?

Facing a problem while using scp to download a file from AWS EC2 instance(to which I have assigned a elastic IP),scp is ignoring the my-store folder. But when i access the ec2 instance over ssh, I can ...
0
votes
0answers
496 views

Unable to connect to amazon ec2 instance over ssh

I am unable to connect to my amazon instance through ssh from a particular internet provider's connection. But I am able to traceroute to that ip from the same internet provider's connection. ssh ...
4
votes
3answers
4k views

How do I use my keyfile to sftp transfer data from one server to another

I cant scp, the other server only takes sftp connections. Currently, I am trying to do sftp jay@server.name.com:/files> put -r ~/ -i keyname does not work, just resolves with illegal option -- ...
0
votes
1answer
39 views

How could I connect to multiple clients using their SSH settings for the same service?

Say I connect to Amazon's EC2 service for multiple clients, where each client has their own ssh settings and secret keys etc. Is there a way I could swap the settings for each client? I'm on OS X.
2
votes
1answer
3k views

EC2 ubuntu AMI ssh password default without key

I have a problem getting past the prompt after setting my first EC2 instance. The ubuntu LTS AMI supposed has ubuntu as the default user name. I set up the instance without keypairs when asked during ...
0
votes
1answer
2k views

How to obtain public SSH key in Amazon EC2 server

I have an Amazon EC2 Windows 2008 R2 server and I've been trying to get SSH working on it. I installed FreeSSHd after having numerous problems with CygWin/OpenSSH, but now I'm not sure how to load the ...
5
votes
2answers
2k views

Why can't I ssh-copy-id to an EC2 instance?

I have a ubuntu Natty instance on EC2, and I can SSH into it by ssh -v -i ec2-keypair ubuntu@ubuntu@XXXX.compute-1.amazonaws.com But I'd like to set up password less sshing. So I tried these ...
2
votes
1answer
721 views

How to change the root SSH key on an EC2 instance

I have a running EC2 instance with Debian 10.04LTS that I'd like to change the root SSH key of. How do I do this, since amazon set up that key initially for me? Can I just change it the way I'd ...
2
votes
1answer
2k views

How to view contents of an EBS volume attached to an EC2 instance via Terminal?

I've setup an EC2 instance and have 2 EBS volumes attached to it. I would like to view the contents of each volume. How do I view it via the terminal (cd /somePath)? I've already have a valid SSH ...
0
votes
1answer
963 views

Installing Gitosis on EC2/Ubuntu

I'm trying to get gitosis to work on my Ubuntu instance on EC2. I'm having a problem with getting the right key to work. I SSH to my server using the key provided in the AWS console: it's a public ...
1
vote
3answers
2k views

x windows in a browser. ajaxterm but with X

ajaxterm is a terminal that works in a web browser is there a similar solution for x windows? if i'm in a library or on a netbook i can't use vnc, but every computer has a browser. so is there a ...
2
votes
2answers
941 views

How to stop adding IP from EC2 to known_hosts for ssh?

I start/stop lots of new instances as I'm learning to use Amazon EC2. Every temporary instance is added to the known_hosts file. Is this ever a problem for others who use EC2 a lot? I'd like to tell ...
0
votes
3answers
3k views

No /etc/init.d/sshd file? (Ubuntu / EC2)

On a fresh EC2 instance running Ubuntu, I see that there's no /etc/init.d/sshd file. I tried sudo apt-get install openssh-server And it shows that openssh-server is already the newest version. How ...
2
votes
2answers
4k views

Mounting an Amazon EC2 instance on Mac OS X

I've got public key authentication working between my Mac OS X and an Amazon EC2 instance so that from the command-line I can just type the following and it works: ssh root@[IPAddressOfEC2Instance] ...
3
votes
1answer
5k views

Mount EC2 instance via SSH on Mac OS X

OK I just can't figure this out. I have an EC2 instance, which I'm able to SSH into just fine with: ssh -i XXXX.pem ubuntu@XXXX.com I can even make it slick from the command line by creating a ...