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

learn more… | top users | synonyms (1)

4
votes
0answers
61 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 ...
3
votes
0answers
38 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 ...
3
votes
0answers
596 views

SSH update to 14.04: The disk drive for / is not ready yet or not present

I am not able to restart my Ubuntu server after upgrade from 13 to 14.04. What can I do to make things work again? I tried to upgrade my server over ssh to ubuntu 14.04. When the installation ...
3
votes
0answers
129 views

Display issue on remote machine using GDM X11

I am remotely logging into an Ubuntu machine through SSH(MobaXterm) using Gnome desktop remote environment from my Windows PC. I am having trouble with one of our video applications in displaying ...
3
votes
0answers
237 views

Very slow speed while mounting via SSHFS

My host is ubuntu 12.04. My guest is vanilla 3.0.33 kernel with custom rootfs. I have encountered the subj problem, while mounting host folder on the guest machine via sshfs. sshfs ...
3
votes
0answers
497 views

Using gnome-keyring with svn via ssh and mysql-workbench

Problem: mysql-workbench fails to connect to the keyring to connect to mysql. I'm trying to get my svn command (which uses an svn+ssh uri) to prompt me to enter my password for my local rsa secrets. ...
3
votes
0answers
356 views

A Linux container can use an authorized_keys file outside my home directory, but ephemeral containers based on it can't. Why?

In Ubuntu 12.10, I've created an LXC of type 'ubuntu' using the lxc-create utility. I then create ephemeral containers based on this container using the lxc-start-ephemeral utility, and I need to ...
3
votes
0answers
429 views

What do these lines in the UFW logfile mean?

These lines are repeated several times, first one at the time when remote ssh connection with the machine is lost (mac address is the address of eth used for Internet connection) Mar 24 21:20:32 ...
3
votes
0answers
512 views

How to prevent autossh from becoming stuck once in a while?

I am using autossh to build a reverse ssh tunnel but from time to time the tunnel stops working and I need to kill autossh and start it again. /etc/cron.d/autossh @reboot autossh -f -nNT -R ...
2
votes
0answers
17 views

Share internet connection to distribute ubuntu nodes sitting behind master

I'm working on setting up a 20 node distributed system. The data nodes are hp Compaq 6500 pc's running Ubuntu 12.4.5. The master is connected to the internet and I've configured the IP's of the nodes ...
2
votes
0answers
72 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 ...
2
votes
0answers
63 views

How can I start a LightDM session via SSH?

I'm connected to an Ubuntu 14.04 machine via SSH and I want to start the lightdm session for testing purposes. I don't want to forward the X server to my local machine. I just want to start the ...
2
votes
0answers
145 views

How to change my home directory?

I have a current /home/user/ directory for ~ but I want to change it to be at /user/home/ /user/home already exists. The option of using usermod is not going to work because I don't have access to ...
2
votes
0answers
140 views

Bind keys over SSH to switch tmux tabs

I typically have 4 or 5 tmux "tabs" (aka tmux windows) open. They are created by pressing Control+B, C In many applications you can Control+Tab to switch between tabs (or internal windows, or ...
2
votes
0answers
93 views

unable to access to localhost remotely with ubuntu 14.04

I have an old PC that I have set up as a server. I've installed webmin and Plex Media and ssh server. The problem is that I could easily connect to these services in Windows 7 using firefox by just ...
2
votes
0answers
280 views

Using SFTP with SSH ForceCommand directive

I have set up an SSH server (call it group2.fqdn) with this ForceCommand directive: Match Group group1 ForceCommand ssh -t group1.fqdn Match Group="*,!local,!group2,!root" ForceCommand ...
2
votes
0answers
128 views

Understanding ssh - apparent IP address: dynamic vs local port forwarding

I have ddwrt on my router back home and I'm playing with ssh on my laptop from a remote location to better understand ssh. My router has port 5000 listening for incoming ssh which it port forwards to ...
2
votes
0answers
2k views

Refused connection of ssh

I installed openssh on my new Ubuntu14.04 server, turned on ssh, and enjoyed it after I finished installation. Every thing was fine; however, after just one night, I was blocked when using putty as ...
2
votes
0answers
19 views

Amazon aws type keys generation

There is perfect security model when connecting to Amazon AWS instance. But I would like to be able to make such key my self for custom user. To be clear it will be user with git repository, but it ...
2
votes
0answers
3k views

Can't change ssh port (Trusty 14.04)

I've been trying to change my ssh port without success and none of the suggestions I've found did the trick for me. I'm on Trusty 14.04 at Rackspace (upgraded from Precise). This is the sequence of ...
2
votes
0answers
334 views

How do I chroot an SSH user to their home directory?

I don't want to use jailkit. My OS is Ubuntu 14.04. I am setting up a user account on my server for a kid I tutor, so he can run a minecraft server. He will be using putty to ssh into my server, and I ...
2
votes
0answers
48 views

who / w / logname broken in multiple terminals

I have a strange problem: In a GUI session, depending on the terminal being used the following two (related) problems appear: who and w doesn't list the user's active session logname returns ...
2
votes
0answers
99 views

How to do port forwarding over a public network?

I am stuck in one complicated task , i am having following structure, _____________________________ | [PC1]--(in same net)--[PC2] |----(Over internet or public ...
2
votes
0answers
268 views

after ssh session : -bash: /bin/ls: no such file or directory

I've logged into my Ubuntu server from work via putty under Windows. Right away I noticed something weird. I could not use the ls command. Got: -bash: /bin/ls: no such file or directory I didn't pay ...
2
votes
0answers
87 views

How to access Amazon EC2 instance from Ubuntu 13.10?

I have an Amazon EC2 (Windows) instance which has been created for me and I have public DNS, public IP and the public key. I would like to RDP to this instance from Ubuntu 13.10. I have recently ...
2
votes
0answers
224 views

How to set up ssh-agent

I have set up ssh-agent. The problem is, it stills asks for a pass-phrase every time! How do I set it up to only ask for a pass-phrase once? It would be best if it only asked when it was first needed, ...
2
votes
0answers
755 views

Ubuntu Touch ssh connection refused

running Ubuntu Touch on a Nexus 4. I've installed ssh server and have followed the instructions available in the wiki to ssh into the phone, but it tells me connection is refused. Doing the standard ...
2
votes
0answers
313 views

Samba, PAM and encrypted home directory

So, I have an encrypted home, PAM usually unwraps the passphrase via /etc/pam.d/common-auth and /etc/pam.d/common-session-noninteractive. This works fine for SSHD sessions, however when I open up a ...
2
votes
0answers
559 views

ssh-agent running but not working when logged in using PuTTY

When I am using the terminal directly on the machine running Ubuntu 13.04 ssh-add works fine using the process: /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch ...
2
votes
0answers
335 views

Server in LAN with two network cards, can't telnet / ping to the second even if it works

I have an issue with an Ubuntu 12.04 LTS (updated) server. For reasons too long to detail, it has got one eth0 interface assigned to 192.168.1.9 and one wlan0 interface assigned to 192.168.1.10. Both ...
2
votes
0answers
109 views

How to administer, manage & update 40 to 50 Kubuntu laptops?

I have a custom developed application presently running on about 40 Kubuntu laptops (& more planned). Every few months I have to update the application. I also have to run Ubuntu updates and a few ...
2
votes
0answers
117 views

How do I activate PulseAudio when only being logged in via ssh?

I am using a console-based music player, called cmus. It is in the repositories. If I ssh into my desktop computer from, say, a laptop and start cmus, I would like to be able to play music. But, if ...
2
votes
0answers
151 views

How can I let somone over ssh have access to pulseaudio?

I recently had a really good post here where I was able to figure out how to setup virtualgl and use it with X11 forwarding in ssh. I am using it to make a kind of multiseat setup. I only have one ...
2
votes
0answers
634 views

Cannot SSHFS mount user home directory

I am attempting to setup a centralized home-directory server through sshfs and pam-mount. Currently I am stuck at this point: When attempting to mount the remote home directory sshfs just gets ...
2
votes
0answers
102 views

who is scping your ssh server

Just you can run w to find who is sshing into your server, how can you find out who is scping into an Ubuntu laptop?
2
votes
0answers
318 views

Problem with applying socks proxy systemwide

i trying tunnel my traffic through SSH server. when i use Firefox network setting, it work well but when i try apply the socks proxy system wide from ubuntu setting and tunnel google-chrome traffic, ...
2
votes
0answers
79 views

Suspending the current ssh connection

I'm new to Ubuntu and trying to learn ssh connections. I learned trick to suspend the current SSH connection and come back to localhost using: ~ + Ctrl-Z When I press Shift+~, I suppose that the ~ ...
2
votes
0answers
455 views

SSH Connection time out

Whenever I try to SSH my VPS account it says: SSH connection time out during banner exchange. I want to know the reason behind this problem and a solution. My VPS is running Ubuntu 12.04 Server ...
1
vote
0answers
11 views

Apache no longer starts (AH02238: Unable to configure RSA server private key)

My Apache Server no longer starts. Checking the log shows that: [Fri Apr 24 18:05:01.342667 2015] [ssl:emerg] [pid 21220] AH02238: Unable to configure RSA server private key [Fri Apr 24 ...
1
vote
0answers
18 views

Complete walk through on creating a new user +Key if nessecary

I am very new to all of this. I use PuTTY to access my WHM Minecraft server without any issue as root. I want to make a new account, I have googled for 2 days and nothing is working. ...
1
vote
0answers
32 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
0answers
30 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 ...
1
vote
0answers
26 views

SSH outside the local network

I have Ubuntu 14.04 LTS installed on a Toshiba Satellite L655. I've recently installed an SSH server on the machine and it works fine when connecting to it using 192.168.1.3 but when I try that using ...
1
vote
0answers
22 views

Using ssh as a proxy

I work remotely and I don't have access to some resources of my company from my local machine. Those resources can be accessed only from remote virtual machine. It's not very handy and I see two ...
1
vote
0answers
36 views

$password with ssh chpasswd

I've a problem with "ssh chpasswd" .. I need to implement the "$password" of register.. Eg.. I've this code.. echo $ssh->exec("sudo sh -c 'echo $user:test | chpasswd'"); When the script is ...
1
vote
0answers
13 views

Master Account to Upload Files to sftp Server

All, I'm building an sftp server that will be used for clients to download sensitive information. Our Medical Records team needs a way to upload the files to the clients home directory. I'm ...
1
vote
0answers
24 views

Allowing Ubuntu user on ec2 to upload and manage files in public web folder

Just created a new ec2 ubuntu instance, and i'm forced to login as ubuntu rather root. While Its ok as of standard security practice but it creates additional problems that ubuntu user cannot upload ...
1
vote
0answers
21 views

Leave remote graphical session open

I own a VPS with Ubuntu Server 14.04. I know I can keep processes running using screen, but that's true only for non-graphical processes How can I keep graphical processes alive (e.g. a browser) ...
1
vote
0answers
25 views

After moving home directory, ssh configuration is not working

I moved my home directory from /home/user to /media/newDrive/home/user. Everything seems to be working at first, except my ssh configuration. I was able to log into this machine from my laptop with ...
1
vote
0answers
64 views

Showing progress in whiptail while using sshpass and SCP

I'm writing a bash script that automates the building, copying and running of a golang app to a remote server. I'm using whiptail to let the user pick some options, enter in some details (e.g. SSH ...