SSH to Amazon EC2
location: linuxquestions.com - date: July 22, 2011
I am wondering if anyone has any experience with SSHing to Amazon's EC2 site. Has anybody used this site and have any opinions on the reliability, security and real world usefulness of this site for running a cloud?
SSH] Server Version OpenSSH_5.3
[SSH] FAIL: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
[SSH] INFO: DISCONNECT
I get the above when I try to ZOC to an EC2 instance. I generated the key pair when the instance was created and appears to be a valid key. I am trying to do this from a windows7 box. I also tried using puTTY and got a similar result. Using puTTY Amazon says you have to convert .pem --> .ppk using puTTYgen and save the new resulting private key and use this not the .pem file for initiating the SSH session.
Server refused our key
No supported authentication method available(server sent:
Any help or information on Amazon EC2 appreciated. Thanks
[SOLVED] SSH connection issues on Ubuntu 10.10
- date: December 25, 2011
Recently installed openssh-client & openssh-server on my ubuntu 10.10 box, and my backtrack 5 laptop, yet I can't connect to either host using ssh [email protected]
Keep getting the port 22 connection refused error, and yeah I have updated my port rules to allow 22 on both machines, thanks in advance
HOWTO: Enable and control the gnome VNC vinoserver from an SSH connection
- date: September 28, 2006
NOTE: At long last here's the updated method. This was tested between two Ubuntu 10.10 Maverick hosts. Thanks to all the contributors to this thread, especially the posts by frafu and InkyDinky
:~$ ssh -Y [email protected]
# check settings and hit close button
:~$ sudo -s
:~# export DISPLAY=:0.0
:~# xhost +
:~# /usr/lib/vino/vino-server &
# to start the vino server
:~# netstat -nl | grep 5900
# check to make sure vino server is listening on port 5900
exit or CTRL-D twice to close SSH session to remotebox
:~$ ssh -L 5900:localhost:5900 [email protected]
# establish a new SSH connection to remotebox w/forwarded VNC port
# launch Remote Desktop Viewer (vinagre) under Applications => Internet and connect to localhost
[SOLVED] Creating Custom SSH iptable rules for use with UFW
location: linuxquestions.com - date: February 22, 2011
I'm trying to set up a firewall at the moment that allows access to my custom SSH port from only my friend's url (they have a static url but dynamic IP). I find iptables a bit of a nightmare and was hoping to use UFW for most of my day to day firewall maintenance and just make a few extra iptable rules to cover exceptional circumstances like this. Fortunately it seems UFW allows this with /etc/ufw/before.rules and /etc/ufw/after.rules.
So at the moment I'm just trying to get the basic iptables rules right. As I say I'm not very good with iptables, does this look right?
SSH: Connection Refused Ubuntu 12.04
location: linuxquestions.com - date: June 28, 2012
I'm setting up an SSH server on my home computer. I'm kind of a Linux noob (I've been using Ubuntu since Febuary or so, meaning I'm not terribly good at everything, but I know some basic stuff to try.
So, if I try to connect to the server through my laptop (also running Ubuntu 12.04), I get this error:
Trying to run X11 over ssh: "connect /tmp/.X11unix/X0: No such file or directory"
- date: May 20, 2010
I'm trying to run X11 windows over ssh but I get this error:
ssh -X -C [email protected]
Warning: No xauth data; using fake authentication data for X11 forwarding.
connect /tmp/.X11-unix/X0: No such file or directory
Error: Can't open display: localhost:10.0
I managed to connect with another computer. That computer has a /tmp/.X11-unix/X0 socket. Is there a way to create a socket on this computer?
Strange SSH behavior
location: ubuntuforums.com - date: January 23, 2011
I have 6 EC2 slices, 5 Centos and 1 Ubuntu 10.10. Yes, I'm in process of moving off of Centos to Ubuntu.
When I attempt to ssh -vvv from my laptop to the Ubuntu slice, it shows a match to my rsa key, then it progresses onward and asks for a password which is turned off. No matter how I try to connect via ssh (my private key, the creation key, etc) th e connection fails with ssh asking for a password.
The stranger part of the situation is that if I originate the ssh connection from within the Amazon cloud .. ssh works as expected.. accepting all the same keys that are rejected when originating from my laptop.
ssh connection timing out Ubuntu 10.04
- date: May 14, 2010
I've recently upgraded from Ubuntu 9.10 to Ubuntu 10.04, and having upgraded I can no longer ssh (or sftp or scp) to my university network.
Before upgrading I could ssh without any problems. On ssh-ing now I get the following message:
ssh: connect to host stargate.uclan.ac.uk port 22: Connection timed out
where sshuni is an alias for the following: ssh -Y -C [email protected]
I also had problems getting firefox working when I initially upgraded, however these were resolved by disabling IPv6. I suspect this is somehow related to my current problem but I don't know where to start trying to fix this.
Any help would be very much appreciated.
How to play microsoft ages of empires multiplayer, via SSH Tunneling?
location: linuxquestions.com - date: August 24, 2009
Here is a new difficult mission, ssh tunneling because one friend has a poor router brand. So he'll login with putty to my linux via SSH, 10.1.1.10. He tunnel-ed dynamic those necessary ports, below, with putty into Tunnels.
My pc 10.1.1.15 microsoft xp installed with ages of empires cannot see him to 10.1.1.10, as LAN TCP IP gaming multiplayer.
to finally play it:
Any experts in those fields?
Launch firefox via ssh, display on remote machine
location: ubuntuforums.com - date: December 5, 2008
I have an Ubuntu 8.10 with a virtual guest XP via VirtualBox.
I'd like to pass URLs from XP to the Ubuntu Firefox.
If I SSH from XP to Ubuntu and enter
firefox --display=:0.0 http://www.ubuntu.com
I get the following error in Ubuntu:
Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.
Is there a way to tell Firefox to open a new tab in the existing instance?
Page: 1 2 3 4 5 6 7 8 9 10