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

learn more… | top users | synonyms (1)

10
votes
2answers
44k views

Remote x-server with ssh -X

I am trying to start a remote gnome session using: ssh -X username@192.168.1.107 gnome-session Both client and server are Ubuntu version 12.04 I get the following (and not a lot happens)... ...
2
votes
1answer
2k views

changing ownership and permissions of /usr/bin/ and /var disables ssh

I recently made changes to /usr/sbin and /var: chown root:root and then did chmod 775 for each. I basically wanted to only have the root user, and those users that belong to certain groups access ...
12
votes
3answers
9k views

How do I run a graphical application on a remote server when logged in through SSH?

I am trying to run gedit from an SSH terminal on Windows, connected to an Amazon EC2 instance running Ubuntu 12.04 Server and I am getting this error: Cannot open display: How do I fix it?
2
votes
1answer
509 views

How do I start a program on my desktop from an SSH session?

Lets say I want to start Teamviewer on my home-desktop which I currently only have SSH access to. How would I do that?
2
votes
1answer
4k views

How do I configure ufw to allow ssh on another port? [closed]

I'm having some difficulties at the moment with my Ubuntu SSH server. The only title I could come up with summarizing my situation was too long so here is my problem: I recently discovered the ...
0
votes
1answer
2k views

gnome-keyring-daemon[16231]: unsupported key algorithm in certificate: 1.2.840.10045.2.1

Ok... so when I try to ssh into my hosting service's shell account, I cannot login. The problem seems to be the Gnome Keyring service not having a supported key algorithm, but I'm clueless as to how ...
6
votes
1answer
11k views

Openning NetworkManager's edit connections window from terminal

I need to open NetworkManager's edit connections window from terminal (for ssh -X ). What is the command that opens it?
0
votes
1answer
93 views

Is there any application on Ubuntu equivalent to fedora's 'Connect To'? [duplicate]

On Fedora 14 I use to use an app called 'Connect To' (I think it was default app) to make SSH connections. It was GUI based SSH connection tool. Now I have migrated to Ubuntu (11.10 to be precise). ...
2
votes
1answer
460 views

how to recover backgrond process from a killed terminal

I have launched a long running process from ssh in background . Unfortunatly my connexion crashed . Now I'm trying to recover this process but when I execute fg it didn't detect it . How can I bring ...
1
vote
2answers
11k views

How can I copy folder's contents and tree-structure into a remote directory with same structure

Is it possible in SSH terminal to copy a folder directory into another directory that will share mostly the same folder names/structure but will have unique files. In a simple example: If FOLDER1 ...
0
votes
2answers
3k views

How to tunnel traffic to certain destinations over ssh?

I'd like to send traffic destined to certain ip/subnet through one ssh socks5, while routing other traffic through another socks5 tunnel. I'd tried tsocks with following configuration: path { ...
2
votes
1answer
722 views

SSH'ing to my machine attaches an existing screen session and detaching it ends my SSH session

ssh'ing to my Ubuntu machine automatically attaches an existing screen session and detaching ends my ssh session What I want is to be able to ssh to my Ubuntu machine without automatically ...
-2
votes
1answer
489 views

rsync password problem

I have a python script. In that, I am using rsync for data transfer between two systems. While running, it ask for password for data transfer. So that I create a password-less run by the below ...
5
votes
4answers
37k views

What is the password for ``ssh root@localhost``?

I need to ssh to localhost using root account, by ssh root@localhost. When it prompts for passwords, I can not login with all possible passwords. On setting of localhost machine, regular user xxx and ...
2
votes
1answer
366 views

How do I create one user without key authentication?

I've completed the following steps: I have configured Ubuntu server with Key authentication and it is working fine. I have disabled password authentication for key authentication to work. The server ...
0
votes
1answer
1k views

AutoSSH for a robust tunnel

I'm trying to start an ssh tunnel from A to B and have it run despite things like: period network/wifi drops on A and remote server reboot on B. My ssh tunnel starts using upstart script on A with ...
1
vote
2answers
794 views

Is there a way to connect to a local pc via a gateway without having the gateway shine through?

When I'm at work I can use nautilus to navigate files on other computers of the local network comfortably. Nautilus mounts the other computers file systems using ssh (sftp via gvfs). However when I'm ...
0
votes
1answer
232 views

How to create a VNC server such that each user can have access using its own user/password combination

I would like to know which software of what is the procedure to create a VNC server such that each user can have access using its own user/password combination ?
1
vote
2answers
2k views

Setting up ssh and sftp for multiple users

I am trying to setup an sftp server and I am having issues getting it to work exactly as I like. My server has two hard drives, the first is used for the os, and it contains all of the users home ...
1
vote
1answer
326 views

Find most recent scp files

A few weeks ago I scp'd some files to my computer from a friend's computer for future use. Now I want to use those files, but I can't remember where I put them and I have looked all over. Is there ...
3
votes
1answer
2k views

How to address ssh-server with a subdomain for remote access?

I am trying to set up ssh-server on my Ubuntu 12.04 VM (running in VirtualBox on Mac OS X 10.7). I have a domain name, call it foo.com, and I'd like to make ssh available via ssh to linux.foo.com. (I ...
6
votes
1answer
3k views

Open a new tab in gnome-terminal and have it automatically connect via ssh

I find myself ssh-ing into another machine a lot at work. So much so, that I use it more than simply using the terminal on my own desktop. I know that (normally) when I open a new tab, it will ...
2
votes
3answers
764 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 ...
1
vote
1answer
148 views

Terminal shows root@homeserver when logging in with user

I have an Ubuntu Server 12.04 running on a Dell D620 Machine called "homeserver". Everytime i log into the SSH with the user homeserver (yes same name as machine) the terminal shows root@homeserver. ...
3
votes
1answer
4k views

How would you go about backing up a remote Ubuntu VPS via SSH?

So, as I said I have a VPS, Raspberry Pi and a plan, but I am in need of some advice, so here goes. I have a VPS with prgmr.com which I ahve up and running nice and smoothly without any issues. I ...
3
votes
1answer
2k views

How to search a network share?

Usually when I want to find a particular file on my local machine, I'll open up a terminal and do find . -name "*blah*" from the directory which I want to search within. Now I want to search from a ...
0
votes
1answer
1k views

Why is ecryptfs only mounting private home directory over ssh?

The title says it all; my 12.04 server box will only decrypt and mount my home directory if I log in over SSH. Last night I needed some data off my server but I had left my laptop with my private keys ...
4
votes
1answer
4k views

SSH and x11vnc with multiple users

I have an Ubuntu 12.04 workstation at home which I also use when I'm at work. My girlfriend also uses it when I'm at work. The arrangement is that I connect through ssh while she is physically working ...
1
vote
1answer
274 views

Having an Issue in restricting length of password

I am trying to place a restriction on my ssh box to require a password of a min. length of 16 character and a max. of 30. I was following the Password policy section, in the official user ...
1
vote
2answers
564 views

Lost console when EC2 ssh is logged out

I run a java application as a server on a EC2. But as I loose my ssh connection all console messages are also lost. When I redirect all messages to > my.log and then use tail -f my.log I dont get ...
0
votes
1answer
499 views

How do I allow more than one user to read the output and enter commands for a program running in the Terminal remotely via SSH?

I've looked around and I've seen that some people recommended using Screen, but I don't exactly know what they meant. The program in question is a Minecraft server. I need it to be able to allow ...
11
votes
3answers
6k views

How to disable the keyring for SSH and GPG?

How to disable the keyring for SSH and GPG ? I would like to keep the keyring for the wifi and other stuff. I'm using Ubuntu 12.04.
1
vote
1answer
2k views

Installed Xubuntu desktop on Ubuntu 12.04 server and now can't connect via SSH

I have a ubuntu 12.04 server that I could connect to fine using ssh over the internet. I installed the xubuntu desktop on it, didn't change any settings, then suddenly ssh stopped working. I can ...
3
votes
4answers
385 views

SSH Navigation Confusion

This may be the most ridiculous question I've ever asked, but I freely admit that I am stumped. I'm trying to move some files from a remote server to my local machine. I'm running Ubuntu, obviously. ...
2
votes
1answer
883 views

Does Juju really need two nodes?

Hi I am trying to deploy openstack with Juju and MAAS. But the Juju bootstap is still with the Status Connecting to Environment: marcel@ubuntu20:~$ juju -v status 2012-07-11 07:18:00,831 DEBUG ...
1
vote
2answers
3k views

MAAS Invalid SSH key

I would like to setup a MAAS for OpenStack with Ubuntu 12.04. Everything workes great: marcel@ubuntu20:~$ juju status 2012-07-09 13:00:02,559 INFO Connecting to environment... The authenticity of ...
1
vote
1answer
6k views

“PTY allocation request failed” error when trying to connect using SSH

I'm trying to log into Ubuntu desktop. I get the following error message: PTY allocation request failed What does it mean and how to connect to my desktop? This is the output with -v: debug1: ...
52
votes
3answers
5k views

How can I use a passcode generator for authentication for remote logins?

I would like to strengthen the authentication of my SSH logins by adding another factor: a passcode generator device, or a passcode generation application on my mobile phone. The only obvious options ...
2
votes
1answer
141 views

ssh login information

As the admin of my machine, I want users to be able to log into my computer with ssh, but I'm looking for a graphical way to be notified that a user is connected at the moment. If multiple users are ...
1
vote
1answer
136 views

Multiple Users Sending Input To The Same Server Running On My Ubuntu Server

I've just recently started hosting a Java based server on my Ubuntu Server. I've been learning how to setup everything and I've been feeling pretty good about it's setup. I currently start the ...
3
votes
4answers
11k views

Opening the file browser of the remote machine via terminal and moving files around?

I can SSH to my remote desktop machine via my laptop and launch its file browser via terminal by: nautilus but I would like to be able to drag and drop the files from remote machine to my local ...
45
votes
3answers
102k views

In SSH, how do I mv to my local system?

Probably bad searching/not knowing the terminology, but: I've managed to ssh into my webhost's directory for me, and tar the webapp I want to back up and download. But when I try to mv to ...
0
votes
1answer
211 views

Do you need a shell program for Proxy Forwarding?

I am trying to set up a secure proxy for my work. This article suggests using SSH Tunnel + SOCKS Proxy Forwarding. Do I need to have access to a certain shell program on the server? I have bash, tcsh, ...
1
vote
0answers
18 views

How to prevent SSH setting LANG to an non-existent locale when logging in? [duplicate]

Possible Duplicate: Locale variables have no effect in remote shell (perl: warning: Setting locale failed.) I have a minimal server install that only has English locales. That works great ...
1
vote
1answer
7k views

How do I change local display resolution via SSH?

I have a machine running Ubuntu Server 12.04 LTS and I'm having problems with the local monitor. The Dell flat panel I'm using only displays this message while the computer running: "Cannot Display ...
1
vote
1answer
712 views

Access from anywhere in the world?

How can I acess to Ubuntu 12.04 LTS with SSH and VNC from anywhere in the world with a wifi connection? I found this application, but can this app access my Ubuntu system from anywhere in the world?
1
vote
1answer
3k views

Connect SFTP in Dolphin with keyfile and passphrase and nonstandard port

I am not finding an option to enter the keyfile when adding a network folder in Dolphin. The "Add Network Folder" type is SSH. Dolphin allows me to enter a username, a server IP address, a port, the ...
2
votes
1answer
2k views

How do I remotely shut down a virtual machine (over SSH)?

I have some KVM virtual machines running Ubuntu 11.10. Using the GUI of the Virtual Machines I can turn them off as you would normally do it on Ubuntu. However, I prefer to work on the VMs using SSH ...
1
vote
1answer
291 views

Configuration to point an X tty to a separate system?

Specifically, I have an Ubuntu 10.04 system with a headless Ubuntu 12.04 virtual machine, and I'm looking for a way to have it set up so pressing Ctrl+alt+F8 will take me into another X client which ...
2
votes
3answers
1k views

ecryptfs and ssh pubkey login - How automount and other stuff?

I have moved my ssh authorized_keys to an /etc/ssh/ subfolder, so I can login with pubkeys and have root in control of ssh access, but there are 2 problems left. It does not automount my users ...