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

learn more… | top users | synonyms (1)

6
votes
1answer
2k views

How to start/configure pulseaudio remotely with ssh?

I have a remote machine to which I can ssh. On the remote machine there is a program that uses pulse audio to get input from a USB microphone attached to the remote machine. This setup works fine when ...
3
votes
1answer
387 views

Could not load host key: /etc/ssh/ssh_host_ed25519_key in /var/log/auth.log

I have an Ubuntu 14.04 instance running on AWS. I was browsing the auth logs (/var/log/auth.log*), and noticed the following line appearing: Could not load host key: /etc/ssh/ssh_host_ed25519_key ...
3
votes
1answer
217 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 ...
3
votes
1answer
125 views

Managing remote server connections via Nautilus

Is there any way to manage remote server credentials while using Nautilus remote server connect feature? The Recent Servers works for couple of connections, but not for 20+. Also it seems that if I ...
3
votes
1answer
344 views

linux ssh error while connecting to the host

I lately bought a host on godaddy, everything was working well until i started getting bothered to always have input the password and decided to use id_rsa to be able to get authenticated ...
3
votes
1answer
157 views

How to properly invoke motd for SSH connections with PAM disabled

I have configured a nice motd message that shows me lots of relevant infos when I login to my VPS via SSH. As password authentication is disabled in sshd_config I would also prefer to disable PAM as ...
3
votes
1answer
1k views

Ubuntu SSH X11 Forwarded Client Very Slow

Running SSH X forwarded session from my Ubuntu 12LTS client to a SLES server results in very slow(seconds per mouse click) GUI app(on the server) performance. Using a windows client from the same LAN ...
3
votes
1answer
896 views

How to sync keepass2 using scp/ssh?

I want to access/save my keyDB using keepass2 on a SSH server. On windows, it is available through IOProtocolExt plugin (which contains winscp portable executable). ...
3
votes
1answer
938 views

Unable to connect to remote server with SSH

I used to connect to my server without any problem using ssh on Ubuntu with this command: ssh username@server-ip I can no longer do it now I've changed my location (same PC). whene I run the same ...
3
votes
1answer
253 views

How to close sftp connections made by dolphin?

after using dolphin to connect to a ssh site, for example: sftp://myserver.com and using my user and pass... how can I close that connection so I can log in with another user? It does always auto ...
3
votes
1answer
2k views

How to change what xdg-open does with ssh://user@ip liniks

xdg open has ignored my directives. I have found several threads regarding how to open ssh://user@ip links (these are in our monitoring software). I have run the following commands: gconftool-2 -s ...
3
votes
1answer
1k views

File Transfer mode in sftp

I am a newbie to ftp and sftp as well as Linux. Can you please advise what is the default mode of file transfer in sftp? I know in ftp, we have transfer modes (binary and ascii). It would also be ...
2
votes
1answer
48 views

How to open image in client via SSH

I am using client as a display laptop. I want to control the window via server SSH. however, when I run wmctrl -n 1 it always said Cannot find display. I wish to use SSH to have a control of ...
2
votes
1answer
57 views

Add SSH key when only public key authentication is available?

This question is more of a general Linux or OpenSSH question than it is specific to Ubuntu but because I'm setting up an Ubuntu server, I'm asking it here. The organization I work for is built on an ...
2
votes
1answer
71 views

Automatic User Creation for SSH Server?

I'm trying to setup an SSH server which, upon an attempted connection with the correct public key, will create a new user account if one does not exist. On connection I'd like a specific script to ...
2
votes
1answer
373 views

GPG Password Agent and SSH Key Agent

Yesterday I wanted to add an app to the startup menu, and I noticed that there are two instances that weren't there before: GPG Password Agent and SSH Key Agent. I didn't install those, and I read it ...
2
votes
1answer
233 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
1answer
411 views

ssh connections to Ubuntu are intermittent

I'm trying to use ssh to connect from a Mac to Ubuntu 12.04. I get "Connection reset by peer." Try again and I get "port 22: Connection refused." Keep trying and I get password prompt. Enter password ...
2
votes
1answer
782 views

Permission denied error after SSH login

I am having Permission denied errors after logging with non root user (which has permissions to do "sudo -i" command). I get these errors: -bash: /bin/uname: Permission denied -bash: [: =: unary ...
2
votes
1answer
29 views

Natulius “Connect to server”

i used to manage the remote servers connection with the bookmarks options. Since 14.04 the connections i used is saved in a popup window - how do i edit them? also - if there is a better way of ...
2
votes
1answer
3k views

How do I set up SFTP file access logging for OpenSSH?

I have an SFTP setup using the built-in sftp-subsystem of OpenSSH with chrooted users. In the old days when I used to use FTP, I was able to see what files were accessed by users in the logs. How do ...
2
votes
1answer
951 views

SSH behind a NAT enabled router

I have a netgear router, and i installed openssh, now when i try ssh deadman@192.168.0.4 My ssh works fine and i am able to enter to the ssh terminal But when i try it with a remote terminal like ...
2
votes
1answer
1k views

Question about ssh on 14.04 with Nautilus

When trying to connect via ssh with nautilus Ubuntu 14.04, if you do not specify the folder to which you want to access does not show me any directory. So if I want to connect to any folder system ...
2
votes
1answer
172 views

Can't get server to respond to SSH

I am the admin of a private server and I'm pretty new to administration. SSH was working fine until I upgraded to 14.04. Something went wrong with the upgrade so I downgraded to 13.04. Now SSH doesn't ...
2
votes
1answer
1k views

Does KuaiPan Cloud Service provide encryption and how does it manage privacy?

Looking for an alternative to UbuntuOne, I found that the official Chinese distro, Ubuntu Kylin, has announced a cloud service from Kingsoft KuaiPan, with its own "customed app". This sync client is ...
2
votes
1answer
123 views

SSH key exchange “knowledge” problem

This question may sound a duplicate, but I am confident it is not. I'm playing around a VM with Ubuntu 12.0.4LTS to learn something and my Mac OS 10.9, establishing an SSH connection as per my ...
2
votes
1answer
256 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
1answer
2k views

SSH: Can connect locally but not “remotely”

A bit of background: I'm a ubuntu user for almost a year now. I had an old box lying around and decided to put it to some use. The first thing I wanted to do was set up SSH so that I can place it in a ...
2
votes
1answer
223 views

Confused keys in ubuntu 13.04

I recently installed Ubuntu 13.04, and i add my ssh key to my github account, like always i did. I didn't had any problem to access to my own reports, i could clone my reports, etc... But today, maybe ...
2
votes
1answer
79 views

Adding a question to keyboard authentication method in SSH server

I read this article about authentication methods for SSH This is what is written there? During keyboard authentication zero or more prompts (questions) is presented to the user. The user should give ...
2
votes
1answer
948 views

Unable to connect to my remote Ubuntu system using SSH

I want to connect to my remote PC running on Ubuntu 12.10 using SSH. But when I try ssh my_username@my_current_ip, I get this error: ssh: connect to host 117...** port 22: Connection timed out I ...
2
votes
1answer
2k views

Unable to ssh with error Connection Refused

I seem to be running into a problem when attempting to ssh. Here is my scenario; Host A - 192.168.1.6 Host B - 192.168.5.10 From Host B, I am unable to ssh to Host A, as I get the error "ssh: ...
1
vote
1answer
42 views

Need a web shell

I'm looking for a web service that hosts a simple shell that I can use. I need to be able to update the server through it and such. Many of the links in a previous incarnation of this question (see Is ...
1
vote
1answer
35 views

The simplest way to implement a VPN?

I have a headless machine running Lubuntu that I'm using a file server. I already SSH into it, and use remote desktop from within my local network to do any maintenance I need, either on the desktop ...
1
vote
1answer
82 views

How to ssh to Pre-built Snappy Ubuntu Core for BBB?

Following instructions on page - https://developer.ubuntu.com/en/snappy/start/#try-beaglebone - after I put SD card in with the pre-built snappy ubuntu core (ubuntu-15.04-snappy-armhf-bbb.img) and ...
1
vote
1answer
27 views

Can I log into ubuntu if I messed up my authorized_keys file?

I was trying to add another user to log in as and added the new public key into the authorized_keys file. It was it's own line underneath the original key for ubuntu (although I'm now thinking I ...
1
vote
1answer
472 views

Cannot remote desktop from Ubuntu 15.04 to 14.04 lts

I am able to ssh into my other PC but I am not able to use Remmina to do RDP or VNC. My other PC has VNC server installed and I turned it on before trying to connect but its not working. Am I typing ...
1
vote
1answer
35 views

Netbeans can't access GitHub

Ubuntu 15.04. Netbeans cant access github. I've try terminal. it says that ssh key ip something... I've genarate new ssh-key, added to github, to my ssh. So via terminal it work but, via netbeans ...
1
vote
1answer
727 views

Passwordless ssh error

I am trying to enable passwordless ssh for Hadoop 2.6.0. The method I tried is as follows: ssh-keygen -t dsa -P '' -f ~/.ssh/id_dsa cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys I also ...
1
vote
1answer
142 views

How to create a SFTP (SSH) User with extremely limited permissions

i run a server on Ubuntu Server 14.04. I want to create a user that is able to connect via sftp, download 1 file and terminate the connection. The user should not be able to do ANYTHING else. Browsing ...
1
vote
1answer
270 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
vote
1answer
55 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 ...
1
vote
1answer
81 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
1answer
112 views

Accessing Git from Assembla using SSH+RSA

I have just created a repository on Assembla using a Git repository and I have followed their "Getting started with Git" page : I validated my git user.email and user.name. Since I'm also using the ...
1
vote
1answer
84 views

How can I reset ssh passwords in nautilus?

I've logged to my home server using ssh from Nautilus. I selected the option "remember forever" (or something similar) after typing my password. Today I had to change my server's password. Now I can't ...
1
vote
1answer
125 views

Ubuntu Server 14.04 not accepting connections after log out

We have a Windows hardware node with Hyper-V installed on it. In Hyper-V we have an Ubuntu server running (14.04.1). It has Node.js installed on it and is set up to allow SSH connections and serve ...
1
vote
1answer
292 views

SU setgid: PERMISSION DENIED, SUDO: PERM_ROOT 0, -1, 1 PERMISSION DENIED

Hi I have a problem that I cannot solve. I cannot log into root, su, or sudo. Everything works fine via ssh so I tried on ssh via putty: Set root password: sudo passwd Add user to sudo/admin ...
1
vote
1answer
233 views

Remote Access to Ubuntu (as guest OS) from Linux Mint (as host OS) in VirtualBox with ssh

I'm trying to access remotely to Ubuntu virtual OS from the host OS which in this case is linux Mint. My Ubuntu version has no GUI, just a terminal interface. And change the network setting in ...
1
vote
1answer
599 views

IDE for Symfony (PHP) which is able to manage Vagrant VM's over SSH

I just switched from Windows to Ubuntu on my dev Laptop. Now I'm wondering, what's the best IDE to use on Ubuntu when working with PHP? I know there are a lot of threads here about exactly that thing, ...
-1
votes
0answers
35 views

Ubuntu Limit SFTP access for user to home directory and restrict all parent directorys

When connecting over SFTP I land in /home/user but I can then change the directory up a level. How do I limit this to just the home directory? In sshd i have Subsystem sftp internal-sftp Match group ...