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
5k views

How do I export both my private and public keys into one file? [duplicate]

I need help on exporting both private keys and public located in ssh into one file. id_rsa and id_rsa.pub
0
votes
1answer
196 views

UbuntuServer, graphics-card died, cant log in to use SSH/VNS

Okay, weird situation. I have a really old desktop and yesterday I decided to setup ubuntu-server as a home server on that thing. It has no onboard graphics. I installed gnome-desktop, so at the start ...
2
votes
2answers
2k views

KDE 4.7.3: how to remember ssh key passphrase in konsole?

I am using latest KDE in Kubuntu 11.10, I have ssh keys added protected by a passphrase which is prompted every time I try to establish ssh connection. In Gnome it would pop up a GUI window where I ...
1
vote
2answers
1k views

Is it possible to ssh my Ubuntu machine from an iPhone? [closed]

I want to control my Ubuntu machine by SSH (or something similar) from my iPhone. Is this possible?
4
votes
3answers
4k views

How do you make Seahorse (Gnome Keyring) store passwords for ssh keys in?

I'm trying to get Seahorse to remember the password for an existing RSA key I've copied across from another computer. When I use the key rather than Gnome Keyring prompting me for the password and ...
2
votes
2answers
354 views

How Can I Edit Songs on a Remote Server?

I have a number of songs I am hosting. I would like to edit their ID3 tags. Downloading and uploading them will take too much time. Is it possible to edit them as they are online? Update Here is ...
4
votes
1answer
466 views

SSH shell launched using “expect” doesn't have full width. How can I make fix it?

I am using expect to auto login on SSH from an Unity launcher, the command looks something like this: gnome-terminal -t SSH1 -e "expect -c 'spawn ssh root@111.222.333.255 ; expect assword ; send ...
1
vote
4answers
6k views

No prompt after successful ssh login

After a successful login to my VPS the command prompt doesn't get displayed. I've ran ssh with -vvv and sshd with debug output, absolutely nothing is amiss. The VPS is Ubuntu 11.04, the client Ubuntu ...
24
votes
4answers
36k views

Simple & easy way to jail users

I need a simple and easy way to jail users in their home directories in Oneiric. Do you have a simple configuration for jailing users, with full help, or some good web links? I would be offering an ...
8
votes
3answers
13k views

How to open the display from ssh login?

Is there any way to open the desktop display from terminal(ssh login)?
2
votes
2answers
5k views

Copy file to same directory with appended filename Via SSH Bash Script

How would I copy a batch of files into the same directory with an appended filename via SSH Bash Script? For example. /path/files/file /path/files/file-20120105 The trick is for it to be a one liner ...
2
votes
1answer
941 views

Does disconnecting from an SSH session kill it?

I disconnect frequently by lag/timeouts or similar from a machine I am connected in to via SSH and I was wondering if my sessions are still active somewhere or if they close/logout after a certain ...
3
votes
3answers
18k views

Paswordless Rsync Over SSH Without Key Authentication [Un-Safe]

I want to set up an RSync job that would connect through SSH. I have my computer ( backup@myhost ) and the remote host ( test@remhost ) and I need to backup the folder ~/something with all it's ...
1
vote
1answer
3k views

ssh not accepting public key

I recently installed ubuntu 10.04 and trying to connect to remote servers with SSH, which is failing to connect with public key. I created the DSA keys, then did a ssh-copy-id to the remote server ...
1
vote
1answer
457 views

Rsync permission issues via SSH

I am backing up a networked server via SSH. Unfortunately, I can't seem to figure out how to get root access to the networked server with Rsync. I am using the following command to perform the backup: ...
5
votes
1answer
3k views

How do I secure vnc/desktop sharing? [duplicate]

I have a bunch of laptops I need to set up for our support dept and I need to be able to access/monitor them at all times. The laptops run ubuntu 11.10 gnome shell 3.2 and all have the desktop sharing ...
1
vote
1answer
1k views

How to change putty color scheme on linux user basis?

When I ssh into my server all but one of my users has the color scheme. The one that doesn't, well everything shows up as gray text. Is there a way I can change this color scheme? Also, why would ...
2
votes
2answers
1k views

How to pass arguments in a script using gnome-terminal

As part of a script I have gnome-terminal -e "process involving another user" Once executed this line, I have to write in the terminal 3 times the password of this user. I wonder how can I automate ...
2
votes
1answer
876 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
401 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
286 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
595 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 ...
30
votes
8answers
57k 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
254 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 ...
48
votes
5answers
100k 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
161 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
83 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
296 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
759 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
708 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
786 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
444 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 ...
9
votes
2answers
14k 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?