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

learn more… | top users | synonyms (1)

3
votes
0answers
25 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
578 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
120 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
490 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
345 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
421 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
503 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
42 views

Hosting website and Google App mail under VPS by creating nameservers

I have a domain(from IndiaLinks) and a VPS server(from OVH with an IP). Consider the domain as mysite.com. Before purchasing this vps, I used to host it with shared hosting by adding the given ...
2
votes
0answers
52 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
126 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
114 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
278 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
118 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
137 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 ...
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
18 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
2k 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
327 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
98 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
258 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
85 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
223 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
666 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
214 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 ...
2
votes
0answers
309 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
552 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
320 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
114 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
149 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
620 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
99 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
308 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
449 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
6 views

How to get notified (run script) on every SSH connection?

I'm able to run a script automatically every time I log into my machine via SSH by placing a command in the /etc/ssh/sshrc file. That works perfectly, however it's only triggered when I log in via ...
1
vote
0answers
16 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
23 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
10 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
21 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
15 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
22 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
37 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 ...
1
vote
0answers
34 views

OpenSSH chroot breaks ssh and ftp

I'm trying to set up a webserver with a restricted sftp connection. I've googled and followed several walkthoughs that all appear to be pretty much the same thing. Here are my steps: Fresh install ...
1
vote
0answers
38 views

Initramfs suddenly speaks IPv6 but no SSH login

I have been running a configuration with an encrypted root partition and network unlock via Dropbear in initramfs for some time on my Utopic Xubuntu Mediacenter. Since I am actively using IPv6 to ...
1
vote
0answers
84 views

Start vino vnc server from ssh client

First of all: I googled all day and tried several suggestions on different forums with no luck The problem: I am not able to start a vnc server on a remote machine through ssh Additional information: ...
1
vote
0answers
52 views

Git and SFTP - How to separate them?

We have a local development server with Ubuntu 14.04. We use SFTP with vsftp, and Git. Some coworkers have access over SFTP (without ssh access, /usr/bin/nologin and sftponly group), and other ...
1
vote
0answers
372 views

GLib-CRITICAL console-kit-daemon

A fresh install of 14.04 with KDE installed yields the following error: [...] Jan 8 13:58:19 linuxtest4 console-kit-daemon[1969]: GLib-CRITICAL: Source ID 20 was not found when attempting to remove ...
1
vote
0answers
78 views

Prevent SFTP from disconnecting

I am using the latest version of FileZilla (3.9.0.6) to connect to a fully up-to-date Ubuntu Server 14.10 with OpenSSH. When I SSH into the server using PuTTY, the connection never times out. I stay ...