SSH, otherwise known as "Secure Shell", is a method for securely connecting to a remote computer.

learn more… | top users | synonyms (1)

2
votes
1answer
865 views

how do I troubleshoot a ssh:// link that won't do anything?

I've got a link (in Chrome) that looks like in Ubuntu 11: ssh://deploy@ec2-snip.amazonaws.com When I click on it, nothing happens. I can ssh into the instance successfully. But when I click on ...
6
votes
1answer
11k views

fork: Cannot allocate memory

I am frequently getting: fork: Cannot allocate memory when running commands over ssh. I have 4 GB of RAM and usually 2 GB free. This started happening since I upgraded to Ubuntu 11.10. I then need ...
3
votes
1answer
399 views

Can I set default SSH options?

I'm talking about the client. I would like any SSH connection (including those done through SCP and gvfs, if possible) to use the option ServerAliveInterval=30 Is there somewhere that I can push this ...
12
votes
3answers
7k views

How do I backup ssh keys?

I am planning to do a fresh install of ubuntu 11.10 in my system. Before that i have setuped key based ssh authentication in this machine. Is it possible to take backup of those ssh keys, so that i ...
1
vote
1answer
281 views

Executing bash script for all users

I have setup-ed key based ssh authentication to all my hosts for root user. However, for example if i want to change the background of all the users (not the root user, different user account) how to ...
1
vote
1answer
3k views

ssh fails because port 22 doesn't work with AT&T Uverse

I am attempting to ssh into my home laptop (lappy) from my work laptop (lappy2) so I can run things, transfer files, feel good about having the skillz necessary to set up a server, etc. I have told ...
0
votes
1answer
586 views

What command can mount an SSH share and launch a file?

I have a file on another Ubuntu machine. I want to access it from my machine on my LAN. I don't want to go into Nautilus to mount the share first and then browse to the file. I want a command that ...
29
votes
8answers
54k views

Can you set passwords in .ssh/config to allow automatic login?

I'm using ubuntu 11.10. I'm using ssh for connecting to many servers daily, so i put their parameters in .ssh/config file; like this : Host Home User netmoon Port 22 HostName test.com Is there a ...
6
votes
4answers
2k views

Graphical ssh private key prompt not showing up

I recently stopped using a full desktop environment in ubuntu 11.10 (tired of unity) but I'm trying to get some of the desktop environment back. I'm currently trying to get the "Unlock private key" ...
1
vote
0answers
252 views

Why does gnome keyring fail to unlock ssh keys every other boot? [closed]

Since the 11.10 upgrade gnome-keyring fails to unlock my ssh key every other boot. I have to manually enter ssh key password on ssh connect. If I logout of the session and login back in it fixes the ...
46
votes
4answers
95k views

How to disable strict host key checking in ssh?

I would like to disable strict host key checking in ssh for ubuntu 11.04. How to do it?
2
votes
3answers
8k views

How to access a machine through VNC using SSH?

We have more than 500 systems running ubuntu in our office. And sometimes after installation we forget to enable to Remote desktop. So that we was not able to control that PC remotely. Is there any ...
2
votes
1answer
158 views

how do I use ssh with key access in 11.10

I've used ssh before and password access from my new asus k53by laptop with a fresh 11.10 install to dev server works fine. I wanted to set up key access for added security and ease of scripting and ...
17
votes
5answers
22k views

Switch encoding of terminal with a command

One of the servers I quite often ssh to uses western encoding instead of utf-8 (and there's no way I can change that). I've started writing a bash script to connect to this server, so I won't have to ...
1
vote
2answers
81 views

How to skip the particular host in ssh?

I have setup-ed keybased authentication to access all my client machines using ssh. However if i run anyscript in these clients, and suppose if particular hosts is down the terminal hangs in that ...
1
vote
2answers
283 views

How to find the added hosts address in SSH?

I have setup-ed key based SSH authentication to all the systems. How ever i have missed out few systems. If i taken the address of the added hosts, i can find out the non added hosts address. Is there ...
4
votes
1answer
6k views

SSH X11-Forwarding gnome-session/lightdm-session

Client: Ubuntu 11.10 64-Bit Server: VirtualBox Ubuntu 11.10 64-Bit I would like to start a gnome-session/lightdm-session, but it doesn't work. Even though I'm able to start single programs like ...
3
votes
2answers
746 views

How to logout from public key authentication - ssh

I am using key based authentication for ssh. When ever i try to login into the system it doesn't ask me for public key. It simply logs in, i just want to logout from this public key authentication. ...
6
votes
0answers
1k views

SSH hangs about a minute after login [duplicate]

Possible Duplicate: Long wait time on login I am connecting from a Ubuntu Desktop 11.10 to a Ubuntu Server 11.10, over SSH using public key authentication. Problem is within about a minute ...
3
votes
4answers
10k views

How to use SSH with Tor?

How can I use an SSH client over Tor in Ubuntu 11.10? I already have Tor running (and successfully anonymizing HTTP traffic).
1
vote
0answers
594 views

SSH connecting with one command line [duplicate]

Possible Duplicate: How can I set up password-less SSH login? I'm trying to connect to the ssh with the following command: ssh user:pass@host bit still it's asking the password, how can ...
4
votes
3answers
703 views

Tools To Manage Server Through SSH

Any Tool Like This In Ubuntu server so i can manage easily my server through SSH Yast tool open in SSH
6
votes
3answers
8k views

How to copy files from remote server to local machine?

I use ssh mylogin@server to connect to a remote server... I am wondering how to copy the whole files from there to my local machine... One reason to do this, is that, I could not compile a latex file ...
4
votes
2answers
7k views

“can't open display” weirdness over ssh

Some time back, (maybe a year?), my environment was working correctly. But some time in the last year or so I started getting "can't open display" errors. It's weird because I can ssh into the ...
0
votes
1answer
767 views

How-to enable X forwarding in PuTTY

I have Ubuntu next to Windows7, I am always using Ubuntu to connect remotely other computer. I use -X option to enable the GUI. On Win7 I'm using PuTTY, how do I enable X forwarding?
0
votes
1answer
1k views

Auto discovery of DAAP share through SSH tunnel

I got a remote machine (somewhere else on the internet) serving my music via DAAP through forked-daapd. I SSH to the remote machine, tunnelling remote port 3689 to local port 3689 (which is the ...
5
votes
2answers
2k views

Using Juju returns “ssh invalid key” error

Can someone tell me with piece of code is executed when i do: juju status. I'm running Juju on OpenStack and I want to deploy some services but when i do juju status it returns me an SSH INVALID KEY ...
5
votes
1answer
2k views

How to get OpenSSH to use ksshaskpass under KDE?

When using a GNOME desktop on Ubuntu, if I use OpenSSH client to connect to another computer (running from the gnome-terminal), I get a single graphic popup asking for my private key's pass-phrase. ...
5
votes
5answers
5k views

How do I get SSH to listen on a new IP without restarting the machine?

I have a few Ubuntu server boxes set up on ESX, and I changed the IP addresses via SSH. The moment I changed it, it dropped me off of SSH (as expected). After a restart it works 100% as expected and ...
1
vote
1answer
441 views

How do I get package update notifications on login?

In Ubuntu 11.04 Server when I would log in via ssh it would tell me how many packages are available for updating in the welcome message. After upgrading to 11.10 I no longer get that information. Is ...
5
votes
2answers
1k views

Server is dropping SSH connections, then not allowing me to log back on

I have an ESX box which I have loaded with two Ubuntu Server machines. During setup, I chose no additional packages to install as I just wanted a lightweight machine for testing. The first thing I ...
8
votes
2answers
13k views

Can I specify a port for certain IP address in SSH's config?

A ssh server on 192.168.1.45 listens on port 2222. I know I can just add -p2222 or add an alias in ~/.bash_aliases, but is there a way to force a certain port when I ssh a specified IP?
1
vote
1answer
886 views

SSH client not showing prompt after successful login

I'm having problems with my SSH client on Ubuntu 10.10. When I switch on my computer and open a Terminal and execute the command ssh user@host, it gives me a password prompt after which I enter the ...
4
votes
1answer
8k views

How to open a remote file (ssh) with my local Emacs?

I use ssh to connect to a remote machine where a file is. Once the connection is established, if I run emacs the_file in the terminal, instead of launching my local Emacs, it opens an editor inside ...
4
votes
2answers
2k 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, ...
4
votes
2answers
4k views

Cannot establish ssh connection to computer on local network

I've just (re)installed ubuntu 11.10 on my main pc, and the connection times out every time I try to ssh connect to my laptop (over the local network) to retrieve the files I backed up there. The ...
4
votes
1answer
2k views

Resizing partitions on a RAID 0 Array by command line

Oh boy this is a qustion and a half. Simply put when i set up the server it wasn't intended to be used for what it is now, and root (/) has run out of diskspace, while /home has tonnes of the stuff ...
17
votes
3answers
21k views

Where is the SSH Server Fingerprint generated/stored?

I installed openssh-server and created a key with ssh-keygen. I then attempted to test it using local port forwarding by doing ssh -L 8080:www.nytimes.com:80 127.0.0.1. However, the key fingerprint ...
9
votes
1answer
1k views

How to get server MOTD on non-server install

Is there a way to get the fancy MOTD that shows up on an Ubuntu Server install on my Ubuntu Alternate install? Like this: Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-12-server x86_64) * Documentation: ...
1
vote
2answers
7k views

can ping, but not SSH

So I have NetworkManager, connected to an AP on wlan1. I have wlan0 connected to a AdHoc network. I have Firestarter sharing my inet on the Adhoc. I have my ipod connected to wlan0, IP 10.42.43.101. ...
3
votes
1answer
4k 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 ...
1
vote
1answer
236 views

ssh within a local network from a large number of systems without password

i read about logging into remote systems using ssh without entering password; and i've established in my system and is working pretty awesome. now the problem occurs when it comes to a local network, ...
8
votes
1answer
1k views

sshfs transform_symlinks is broken

I've been using the same fstab command for a while now: sshfs#user@host.be:/home/user /home/user/vps fuse user,port=22,uid=1000,gid=1000,allow_other,reconnect,transform_symlinks 0 0 And it used to ...
1
vote
2answers
4k views

How to automatically unlock private SSH key?

I have generated an RSA public / private key pair using ssh-keygen. However, I am prompted to enter the password to unlock it the first time it is used each session. How can I automatically have it ...
2
votes
4answers
2k views

How to restore a process after logging out of ssh connection?

Say I'm running a minecraft server on my ubuntu server and I log into this machine from a remote ubuntu machine over ssh. I startup the server running a script I have e.g. minecraft. If I want to log ...
2
votes
1answer
2k views

Configure firewall (Shorewall/UFW) to allow traffic for services on an Ubuntu Server

I have an Ubuntu Server 11.04 x64 which I want to secure. The server will be open to Internet and I want to be able to SSH/SFTP into the machine and the SSH-server runs on a custom set port. I also ...
1
vote
1answer
464 views

Public key authentication unsupported by web host. Method to avoid entering password?

Unfortunately, my web hosting plan does not allow public key authentication. Apparently, this method is available to VPS and dedicated server customers only. I've backed up my Ubuntu 11.10 machine ...
5
votes
2answers
4k views

Disable interactive SSH at user-level

I connect to a server I don't control via SSH. I use public key access and don't need to be able to connect with a keyboard-interactive password. I would like to disable keyboard-interactive access ...
1
vote
1answer
477 views

Why can I not keep instances of Firefox from two different machines separate anymore?

Sorry this is a little long. It's one of those issues that's a little tricky to describe. I have two computers connected on a LAN. One is running Mythbuntu 11.10, and one is running Ubuntu 11.10 with ...
0
votes
1answer
646 views

Accessing Xubuntu GUI remotely on linode

I'm ssh'd as root into my linode server and have installed Xubuntu (for Ubuntu 10.04). Now I'd like to use it, but issuing starts brings about the fatal error no screens found. I've installed and run ...