OpenSSH (OpenBSD Secure Shell) is a set of computer programs providing encrypted communication sessions over a computer network using the SSH protocol.

learn more… | top users | synonyms

40
votes
3answers
31k views

Does ssh key need to be named id_rsa?

I have come across this problem a couple of times when creating build servers with keyed authentication. I was wondering if anyone else has experience this. I have a couple of keys for my current ...
0
votes
1answer
3k views

How do I get SSH server to work with putty client?

I have an Ubuntu 12.04.01 desktop PC, 64-bit. It has openssh-server installed. When I SSH to the server from a linux box it works. But when I use PuTTY from my Windows 7 PC to connect then I just get ...
8
votes
1answer
8k views

What does 'without password' mean in sshd_config file?

I just installed Ubuntu 14.04 on my server and I was setting up all my config files when I came across this in my sshd_config file: # Authentication: LoginGraceTime 120 PermitRootLogin ...
0
votes
3answers
926 views

Update OpenSSH Server in 12.04?

I'm having hard time updating openssh-server in ubuntu 12.04, I stupidly downloaded .deb file for 14.04 and of course it didn't work :/ I've tried sudo apt-get -f install, it just removed my openssh ...
0
votes
2answers
27 views

sshd daemon not running ubuntu 12.04

The sshd daemon is not running on my machine (Ubuntu 12.04). I have repeatedly re-installed the openssh server and rebooted. I get no output to this command: ps -A | grep sshd Any help would be ...
1
vote
1answer
25 views

Disable login prompt through SSH when no key is present

I've set OpenSSH server with private/public keys, with password login disabled. I was wondering if there was a way to not even show the 'login:' prompt when someone without a key tries to connect. ...
0
votes
0answers
21 views

How to setup a Multi User NAS

I want to setup a multi-user NAS, With an administrator, and have that admin have the ability to add users to the NAS. Users Are likely to be using mainstream platforms. So I plan for them to use ...
4
votes
1answer
20k views

Why do I get “connection refused” errors connecting to a server via SSH?

I've installed Ubuntu 12.04.1 LTS on it with the LAMP stack. I can ping it but when I try to connect to it the server can't be found. When I try to connect with WinSCP I get the error Network error: ...
3
votes
3answers
12k views

openssh-server package not available on 12.04.2

I have just done a fresh install of 12.04.2 and found out that i could not ssh to this PC. I tried to install openssh-server but it said that "Package openssh-server is not available..." What is ...
2
votes
1answer
24 views

timeout during ssh connection

I have an ubuntu pc in my office. I can use this computer through teamviewer. But I not use ssh connection. This is my office computer: donbeo@donbeo-OptiPlex-790:~$ sudo service ssh status ...
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 ...
0
votes
1answer
43 views

cannot ssh via inadyn and freedns

I am having trouble getting ssh to work with a dynamic IP address. I have two laptops, one host and one guest. I have ssh set up on the host and I can ssh in from the guest as long as I know the ...
0
votes
0answers
27 views

File ownership in FTP client displays ID instead of name

Today I'm setting up my first VPS – Ubuntu 14.04 on Digital Ocean. The set up shows owner and group id instead of name. It's not FTP client's settings. It happens only for my new VPS sever. Maybe ...
3
votes
2answers
4k views

SSH problem after update

Setting up openssh-server (1:5.3p1-3ubuntu7) ... Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... start: Job failed to start Can't initialize ssh, ...
1
vote
0answers
17 views

sshd_config file is being overwritten on reboot

I need an AWS server to accept password authentication and whenever I remove the hash and set PasswordAuthentication yes After reboot or create image and launch a new instance, the # is added back ...
0
votes
1answer
53 views

SSH to user from external network says permission denied, works fine from internal network

Okay, I have Openstack installed on a server. I can SSH to the openstack server I have set port forwarding on that server I can ssh to the instance using private AND public(floating) IPs when done ...
0
votes
3answers
114 views

SSH onto new Ubuntu 14.04 server

This is my first server I have set up and I used ubuntu 14.04 to run it. I opted not to use the server install because the regular ubuntu was easier to setup. Now I wanted to make the server ...
1
vote
0answers
34 views

ssh, problem with headless device

I have Ubuntu 14.04 installed on a headless device. Since the last update and shutdown it is not possible to connect via ssh anymore. nmap shows the machine is up and in the network, all ports are ...
1
vote
3answers
42 views

Is there a way to send my IP packets to say node “r” inside network A from a node “y” in network B via SSH?

I have two networks A and B consisting of linux nodes and I want to communicate between the two via SSH: Both networks are separated by the internet. Network A is behind a firewall, and allows only ...
1
vote
1answer
410 views

openssh server is refusing connections by blocking or resetting

On a quite fresh install of Ubuntu 14.04 (machine1), I have openssh-server with a completely default config. When connecting from machine2 on the LAN, with an empty ~/.ssh, I get the following debug ...
0
votes
0answers
530 views

ssh -> Permission denied (Publickey, Password) Error Ubuntu 12.04

Problem: When ssh from Machine A to Machine B and vice versa I get a Permission denied (Publickey, Password). Machine configurations Machine A: Ubuntu 12.04, IP address 192.168.1.100 Machine B: ...
3
votes
1answer
799 views

What causes SSH problems after rebooting a 14.04 server?

Why does rebooting a server running Ubuntu 14.04 give me 'Connection refused' errors? I see ssh: connect to host <IP-address-here> port 22: Connection refused but only for 14.04 and only after ...
0
votes
2answers
55 views

Installing openssh-server on a virtual machine

I am unable to install openssh-server on an Ubuntu 13.10 virtual machine. Here is the command I used and it's output: sudo apt-get install openssh-server [sudo] password for mohamed: Reading package ...
1
vote
1answer
128 views

MySQL SSH Connection Setup

I want to connect to a MySQL db (running Ubuntu 14.04) with my Mac (running Mavericks). I will be connecting remote- home to work. How do I setup the ssh connection on MySQL workbench? Also, where do ...
1
vote
0answers
209 views

Cannot install Openssh-server or client

When I go to install, I get this error: sudo apt-get install openssh-server Reading package lists... Done Building dependency tree Reading state information... Done Some packages could ...
6
votes
3answers
24k views

SSH error: Permission denied, please try again

I am new to ubuntu. Hence please forgive me if the question is too simple. I have a ubuntu server setup using amazon ec2 instance. I need to connect my desktop (which is also a ubuntu machine) to the ...
0
votes
0answers
80 views

Imported OpenSSH keys are saved in Gnome2 keyring, not OpenSSH

I have run into a frustrating issue, that I am sure will be a snap to solve. When importing an openssh key via the "Passwords & Keys" (seahorse) program, it simply places it within the "Gnome2 ...
0
votes
0answers
92 views

Can local Ubuntu Server display GUI app from remote desktop?

Local machine: Ubuntu Server 12.04 LTS, 32 bits Remote machine: Ubuntu Desktop 12.04 LTS, 32 bits Is it possible to launch Firefox or any other GUI-based applications on the remote desktop machine ...
1
vote
1answer
90 views

SSH access failure from Ubuntu to Windows XP FreeSSHd [closed]

I installed 2 VMs on VirtualBox. VM 1: Windows XP with FreeSSHd and PuTTY installed.IP address: 10.0.0.2 VM 2: Ubuntu 12.04 LTS Server Edition with OpenSSH installed.IP address: 10.0.0.3 From VM ...
1
vote
0answers
301 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
65 views

Ubuntu server 14.04 quotations marks display wrong

When ever the character ' is displayed in my terminal it displays as â. I have never had this with the previous versions of Ubuntu. For example: rm: cannot remove â/etc/init.d/novncâ: No such file ...
1
vote
1answer
359 views

Can not install openssh server

sudo apt-get install openssh-server I got this error: Err mirror://mirrors.ubuntu.com/mirrors.txt/ precise-updates/main openssh-server i386 1:5.9p1-5ubuntu1.4 No mirror file ...
2
votes
1answer
153 views

Can SSH with IP but not host name?

When I SSH directly to the server's IP address, it works. (ssh michael@10.1.10.129) For reference, here is the resulting prompt: michael@noranetserver:~$ However ssh-ing by name doesn't work like ...
5
votes
2answers
2k views

OpenSSH Two Factor Authentication

I'm using Ubuntu Server 13.04 and want to use OpenSSH for sftp. I have everything set up and the only thing not working is the Two Factor Authentication. Currently it asks for a password or the public ...
1
vote
1answer
1k views

How to setup SFTP with Chrooted for Groups

After many trials and errors trying to setup a working sftp server for multiple groups with chrooted directory I decided to share what finally worked for me. I am a novice 2 months into Ubuntu so ...
2
votes
0answers
206 views

How to deal with “Errors were found while checking the disk drive for /” in a server?

It seems a little stupid for a operating system this behavior in a SERVER operating system. The problem is very simple to replicate on Ubuntu Server: just change the date back in time and then reboot ...
9
votes
3answers
4k views

How to enter the Default Keyring password via the command line?

Is there a way to enter the default keyring password using the command line? For instance: You have a remote setup of Ubuntu 10.10 thats set to auto login. You don't want to remove the keyring ...
32
votes
2answers
39k views

ssh: automatically accept keys

I've written this small utility script: for h in $SERVER_LIST; do ssh $h "uptime"; done When a new server is added to $SERVER_LIST, the script is stopped with: The authenticity of host ...
-2
votes
2answers
5k views

How to install openssh-server, tcsh, autofs and ypbind on Ubuntu 14.04 Desktop version?

How to install openssh-server, tcsh, autofs and ypbind on Ubuntu 14.04 Desktop version? I'd like to modify the source.list to use apt-get for similar packages. They are all in trusty/main or ...
2
votes
2answers
147 views

Unable to connect via SSH: port 22 error

I have two machines connected via the Ethernet cable. One machine is running Mac OS X , the other Ubuntu (13.10). I am currently able to connect to the Mac via SSH. However when I try login in on the ...
1
vote
1answer
297 views

SSH Connection problems

I'm having troubles with a simple SSH Connection at home. I installed openSSH on an Ubuntu Server. I generated the rsa and dsa but this ssh connection stops while expecting a MSG packaget that I ...
4
votes
1answer
139 views

Why do I've two entries per server in known_hosts file?

On my mac I've 1 entry per server in the ~/.ssh/known_hosts file, in Ubuntu I noticed there are two created per server. Why is that? Format is: |1|wwwwwwwwwwwwwww=|wwwwwwwwww= ecdsa-sha2-nistp256 ...
8
votes
1answer
132 views

How do I re-issue OpenSSL snakeoil cert?

In light of the recent heartbleed fiasco and whatnot I too have been scrambling to up security on some servers. My question is how do I reissue the Snakeoil cert that comes with Openssl? The cert ...
17
votes
5answers
68k views

passwordless ssh not working

I've tried to setup a password-less ssh b/w A to B and B to A as well. Generated the public and private key using ssh-keygen -trsa on both the machines. Used the ssh-copy-id utility to copy the ...
1
vote
1answer
987 views

ssh working so slow

Whenever I start my local ssh login I have to wait for seconds to write a complete command. Even "ls" is taking so much time. I am using it wireless with two of my linux laptops and connecting to my ...
2
votes
2answers
186 views

X11 forwarding in SSH

How to run X11 GUI applications from a remote server using SSH? For example: my first desktop 192.168.1.1 my second desktop IP 192.168.1.12 I 'm sshing from my first desktop to the second and i ...
0
votes
0answers
104 views

why are SSH_TTY and SSH_CONNECTION variables empty?

I know that upon a successful connection, OpenSSH sets several environment variables. SSH_CONNECTION shows the address of the client, the outgoing port on the client, the address of the server and ...
0
votes
2answers
10k views

Ubuntu touch apt-get install (openssh-server) error

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 ...
0
votes
0answers
37 views

Unable to login to Ubuntu server via ssh

[jithin@Landing000 ~]$ ssh -vvv -i xxxxxxxx.pem ubuntu@xx.xx.xx.xxx OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying ...
0
votes
1answer
50 views

Please clarify: Using SFTP on LAN for development

After so many years of working with FTP on Ubuntu, I'm now confused. I read on many docs that FTP is insecure and that SFTP or SSH is the best way to go. But here's what I want to do... We are a ...