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

learn more… | top users | synonyms (1)

1
vote
1answer
27 views

Unable to run applications with GUI through x11 forwarding

I have Ubuntu server 14.04 on which i want to run applications with GUI. I have Xauth installed and i have edited the files ssh_config and sshd_config to allow X11 forwarding. On my PC I have Windows ...
-1
votes
0answers
20 views

Ssh Permission denied (publickey,password)

I have found very similar questions like this, but they did not solve my problem. This is the output of ssh -v localhost: OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data ...
3
votes
0answers
21 views

ssh: connect to host github.com port 22: Connection refused

So I followed the guide on how to add a SSH key to GitHub, and added a new SSH key with a passphrase to GitHub and the SSH agent. Now, if I run ssh -T git@github.com as described in the guide to test ...
6
votes
1answer
170 views

How to prevent Ubuntu Server sleep/hibernation

I'm running the latest Ubuntu Server (quite literally downloaded & installed yesterday) on a box under my desk. I've got trac installed and OpenSSH. Intermittently both become unavailable, as if ...
0
votes
0answers
22 views

unwanted popup for passphrase

When connecting using ssh I am not asked for the key passphrase in the terminal but in a popup window. How can I switch to typing the phrase in the terminal? As this seems connected to the ...
1
vote
2answers
647 views

Where are stored ssh client private keys?

On client, after I do ssh-add to add my private key everything works fine, ssh-add -l lists key and I can connect to hosts that have corresponding public key, but nothing changes in .ssh dir as it ...
12
votes
3answers
6k 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 ...
0
votes
1answer
20 views

How to add new private key (OpenSSH) with multiple identities?

I have generated pair of both public and private key for one remote host. Now I want to add another private key in open format to connect via ssh to second remote host, but ssh denies connection with ...
0
votes
2answers
27 views

SSH and SFTP Permission Setup

I'm trying to setup SFTP on my ubuntu server and I'm encountering a problem. When I set up a group in sshd_config file to chroot people to their home directories the user in the group cannot access ...
5
votes
1answer
36 views

autossh -ND at Ubuntu boot

I have setup key-less login at a remote server. I use the remote server for tunneling my data. I want my local system to ssh into the remote server at boot time automatically. I tried the solutions ...
0
votes
0answers
27 views

How to connect to a LXC container from the LAN?

I have a server with the latest Ubuntu server 64-bit install in my home wlan. I use ssh to connect to it from my laptop. The server /etc/network/interfaces file: # The loopback network interface ...
0
votes
1answer
13 views

how to set socks5 proxy in the terminal

I am a beginner using linux, I would like to connecting the terminal to the local proxy socks made by my ssh (Dynamic Port Forwarding), so is there a way to set up a proxy socks5 in the terminal? or ...
1
vote
1answer
1k views

Ubuntu 14.04 keeps asking for passphrase when ssh

I have ubuntu 14.04 workstation installed in my LAB. Now I have issue with rsa key passphrase. Following are what I have in my LAB SVN server(12.04): I have svn server installed, anyone who want ...
0
votes
0answers
49 views

X11 Forwarding in ubuntu 14.10 server vps not working

I've bought a VPS with Ubuntu 14.10 server installed on it. Since last two days, I've been desperately trying to get X11 forwarding to work with my VPS and windows machine. Problem: Getting echo ...
18
votes
4answers
14k views

How do I set up an email alert when a ssh login is successful?

Does anyone have a bash script that will email or notify someone in the case of a successful login to a ssh server? I want to be notified if anyone logs into my personal box. I'm using Ubuntu 12.04 ...
0
votes
1answer
157 views

Start phablet-shell connection to Ubuntu Phone

I see in a few places [1,2,3] that I can securely connect from my Ubuntu desktop to my Ubuntu phone using the command phablet-shell from the phablet-tools package. Yet, from a terminal on my desktop, ...
2
votes
2answers
45 views

Forward Internet connection over ssh to remote computer

I'm struggling to access the internet from my remote computer. I'd like to access the remote computer via ssh and have there the internet connection available to install packages etc. It looks like ...
1
vote
1answer
29 views

Different shells on SSH and local

So I've got an Ubuntu 14.04.2 computer that has OpenSSH Server installed on it. Whenever I use the computer locally, through the terminal, if I run: ~$ echo $SHELL /bin/bash However, if I SSH into ...
2
votes
1answer
38 views

host ubuntu and guest Windows access each other from command line?

My host OS is Ubuntu 14.04, and guest is Windows 8.1 running in a virtual machine by VirtualBox. Is it possible to access the guest Windows from host Ubuntu from Ubuntu's bash? access the host ...
1
vote
5answers
14k views

How can I access my Ubuntu phone over ssh?

Whenever I try to run apt-get install openssh-server I get the following errors: root@ubuntu-phablet:/home/hablet# apt-get install openssh-server W: Not using locking for read only lock file ...
31
votes
7answers
176k views

SSH connection problem with “Host key verification failed…” error

I can connect to another Ubuntu machine in my LAN via SSH. On both of then PC's I installed openssh-server but from another Ubuntu computer I can not connect to my PC via SSH and I got this error: ...
3
votes
3answers
7k views

Can't start, stop, or interface with SSH service

Having really bizarre behavior with ssh. I have the ssh-server running fine, configured ufw (firewall) fine as well. However, it seems I can't manage ssh as a service or through /etc/init.d/ssh. I ...
0
votes
0answers
26 views

ssh localhost - Connection refused. Ubuntu 13.04 [on hold]

I'm running Ubuntu 13.04 and unable to ssh to the machine; neither from outside nor from localhost. Points to note: Firewall is already disabled Openssh-server and client are installed and ...
0
votes
3answers
51 views

Get current ssh session's originating IP without being superuser

I am trying to find out the current ssh session's originating IP address. I found the following to be useful, but it requires sudo: $ sudo netstat -tapen | grep ssh | awk '{ print $5}' | sed ...
0
votes
2answers
25 views

Was my SSH server compromised? If so, how, and what steps should I take?

I recently enabled ssh access to my machine to work on a group project with my classmates. I read the guide for setting up ssh on ubuntu and tried to follow good security practices. I disabled ...
0
votes
0answers
12 views

After “sudo update-rc.d ssh defaults” cannot connect through SSH even locahost

On this question here, Start ssh server on boot simple, he gave one command to use, followed what he said, did it, and now, without touching or restarting or anything, I could no longer connect to my ...
1
vote
0answers
23 views

Connecting to VPN server closes SSH tunnel

Once I start to connect the VPN, I immediately lose the connection to my dedi-server. My aim is to still be able to ssh to my dedi-server, even if I connect to the external VPN server with my ...
1
vote
1answer
34 views

Why is this odd file extension appearing when I scp a file?

I'm creating a large number of gifs and copying them to a separate computer with a webserver folder mounted via sshfs. For some reason the files will randomly copy with *.gif.001 file extensions. My ...
4
votes
0answers
54 views

Direct ssh tunnel through a reverse SSH tunnel

I have 3 PCs: A is behind a firewall and cannot be reached from outside the local network B is outside the A network, has a public DNS but cannot see A C is a laptop without public DNS that often ...
-1
votes
1answer
22 views

How to set up an old PC to run a gaming server and have people connect it?

For starters, I am extremely new to the ubuntu community and even with UNIX itself... I have managed to wipe an old gaming computer, stack it with some ram, install ubuntu desktop 14.04, and from ...
-1
votes
1answer
50 views

Grub entry to boot clonezilla live from HD with SSH for remote backup! [closed]

Set Up : I have a server with no monitor and no access to it, and I would like to be able to make backups and/or restore backups before messing with server and/or in case it fails. Clonezilla DRBL and ...
1
vote
3answers
66 views

SSH connection refused from specific location only

Me and my girlfriend share a Ubuntu server I set up for different stuff. Lately however, she has been experiencing a problem that has me, her, and both of our respective colleagues confounded and ...
18
votes
3answers
17k views

How to get coloured terminal over ssh?

When I connect over ssh to remote hosts everything is just a single font/color. I would like to have colours like I do locally e.g. green for executable and blue for symlinks etc. And such that when I ...
3
votes
2answers
122 views

Persistent SSH Connection

I use this command to make an SSH tunnel to a remote server. ssh -D localproxy:9999 -C tcx0@111.222.333.444 I also made a shell script using expect command to auto process entire process with also ...
4
votes
1answer
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 ...
0
votes
1answer
34 views

is there any way to change ssh or vnc config using ftp?

I have a remote server which I can't access physically, for the last couple of weeks I could connect to it using both FTP protocol and VNC remote desktop. I changed the "Desktop Sharing" Program in ...
1
vote
0answers
27 views

Why can't I connect to my localhost port from a remote computer?

I'm using link-grammar server to convert sentences into semantic graphs. It provides an API though a port to do the above process. It's configured to works through port 9000 of localhost. I used to ...
3
votes
1answer
5k views

Unable to initialize frontend: dialog when using ssh

I am executing the following command over ssh in a testing environment, as root: ssh <remote_srv> "apt-get autoremove" In my sshd_config I have "PermitRootLogin without-password" and I have ...
0
votes
1answer
23 views

Cloud Image SSH Login

I am using OpenStack and when I attempt to login to Ubuntu QCOW2 image it just times out. I can ping the instance, and I can telnet the SSH port without an issue (telnet <floating ip> 22) so I ...
1
vote
3answers
312 views

How do I disable gnome-keyring ssh integration?

I don't want gnome-keyring to get in the way of my git commits, partially because it locks the entire screen while asking for a password, even on KDE (though I have now switched to GNOME). While I do ...
2
votes
0answers
69 views

Host to Guest one way connection issue

I have guest run on my machine on qemu with configuration: /usr/local/kvm/bin/qemu-system-x86_64 -enable-kvm -cpu host -smp 8 -hda ${TEST_VIRT_ENV_IMAGE} -m 4096 -netdev user,id=user.0 -device ...
0
votes
0answers
12 views

Remote server seems to startup but cannot ping after 13.10 upgrade [closed]

I upgraded my OVH server from 13.04 to 13.10 and now when it boots up it is not able to be pinged and I cannot ssh into it. I booted it to recovery mode and tried to grub-install my raid 1 and there ...
8
votes
2answers
3k views

How can one unlock a fully encrypted Ubuntu 11.10 system over SSH at boot?

In previous versions of Ubuntu, and current versions of Debian, you can unlock a fully encrypted system (using dmcrypt and LUKS) at boot time over SSH. It was as easy as: Installing the encrypted ...
4
votes
1answer
30 views

Permanently raising nofile limits in Ubuntu 14.04 LTS

I cannot seem to figure out what exactly is needed to allow the maximum number of file descriptors to be raised permanently for all users. /etc/security/limits.conf: root hard nofile ...
0
votes
1answer
4k views

Problems using the start-dfs,sh on hadoop 2.2.0

Im using this tutorial for installing hadoop 2.2.0 http://codesfusion.blogspot.in/2013/10/setup-hadoop-2x-220-on-ubuntu.html I've completed many of the steps successfully but I'm stuck over this ...
132
votes
12answers
105k views

How to keep processes running after ending ssh session?

Let's say I launch a bunch of processes from a ssh session. Is it possible to terminate the ssh session while keeping those processes running on the remote machine?
1
vote
2answers
753 views

SSH - buffer_get_ret: trying to get more bytes 4 than in buffer 0

I am trying to make a tunnel. When I run command ssh [user]@[host] -p [port] -L [localport]:[ip]:[port2] -N -vv -y -i /home/glab/.ssh/id_rsa the tunnel starts. Bu the problem is that it after ...
0
votes
1answer
98 views

problem with using git using private key

sorry if this question seems so easy but I'm new with UBUNTU and I still couldn't figure that out. I've been given a private key with password to clone and install a software from a repository using ...
0
votes
1answer
175 views

Failed to load module “pk-gtk-module” in host centos while ssh to ubuntu

When I am logging in via SSH to the Ubuntu 12.04 server from CentOS machine and running the gvim editor then I am getting the error: Gtk-Message: Failed to load module "pk-gtk-module" . If I am ...
-1
votes
0answers
10 views

Install Ubuntu on Local Network? [duplicate]

I have a Mac OS X machine and a Linux box both on the same local network. I can ssh into both and launch apps using ssh -X. My question is this: Can I remotely boot the Ubuntu installer located on ...