Secure Shell (SSH) is a protocol primarily for encrypted shell connections. This tag is also used for questions about sshd and openssh, the two standard applications for using SSH.

learn more… | top users | synonyms (2)

5
votes
1answer
145 views

SSH: Safe for client to host private RSA key?

Is it safe to generate a public/private key pair on the server, add the public key to the authorized_keys list, and then copy the private key to each client, as described here ...
1
vote
1answer
7 views

OpenShift access via terminal (SSH) [Permission denied (publickey,gssapi-keyex,gssapi-with-mic).]

I'm currently sitting on Ubuntu and would like remote access to my application on OpenShift. I have done the following to create a ssh-rsa key (I've replaced the fingerprint with xx:xx...): > ...
1
vote
1answer
23 views

SSH key authentication not working

I've a server running Ubuntu 10.04 (as a VM) to which I can't connect using ssh key authentication without being asked for the password. I've read a lot before posting but I really don't know what I'm ...
0
votes
1answer
8 views

Capistrano 3 hangs in git:check

I'm trying to deploy to a new ubuntu 14.04 box with cap staging deploy, but capistrano hangs during the git:check task: GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/<app_name>/git-ssh.sh /usr/bin/env git ...
1
vote
2answers
25 views

ssh pass original user to environment on server

First off, i do not know wether passing the information to the environment is the best approach, so i will start by detailing what i actually want to achieve. on a corporate scale, there are servers ...
2
votes
1answer
46 views

ssh command line specify server host key fingerprint

Using ssh command line (OpenSSH), can I specify the server's host key fingerprint? This is possible with winscp.com using (e.g.) -hostkey="ssh-rsa 2048 AA:BB:CC...etc I have read the man page a ...
2
votes
2answers
41 views

AuthorizedKeysCommand in OpenSSH without user

Is it possible to configure OpenSSH to invoke the AuthorizedKeysCommand without a matching user being registered locally on the host machine?
1
vote
1answer
16 views

Determine which key is successfully used for authentication with AuthorizedKeyCommands

As of OpenSSH 6.2, the option to use an external program for key pair based authentication is available with AuthorizedKeysCommand. According to the sshd_config man page, this program should return ...
-2
votes
0answers
8 views

how to ssh from ubuntu running inside vm wrk statin in windows to another ubuntu in vm wrk station in another windows [on hold]

how to ssh from ubuntu running inside vm work station in windows to another ubuntu in vm work station in another windows I have 64 bit windows machine on which i am running ubuntu on vmware. I want ...
-1
votes
0answers
31 views

Suggestions for SSH login management across multiple servers [on hold]

We are looking for a way to manage SSH logins to multiple server systems by multiple users within our organization. The current infrastructure in place consists of Windows workstations managed in an ...
1
vote
0answers
33 views

SSH/SFTP over WiFi issues

Some time ago we have purchased a Wireless Controller (AIR-CT2504-K9) with few Access Points (MIMO 3x3). The number of users on one access point is around 20-25 simultaneously. As I have understood ...
0
votes
1answer
30 views

Why can't I ssh to the Ubuntu VM in azure?

I created a fresh VM with Ubuntu 14.04 image in windows azure. I'm trying to connect the VM with with ssh. But it showing something like. Can you help me to understand on what went wrong here? Here ...
-2
votes
1answer
32 views

Is there a possibility to have a web ssh interface? [on hold]

is there a way to make a web interface for ssh on Ubuntu? Something like Digital ocean's method is what we are currently in need of.
-1
votes
1answer
27 views

How to get ssh to automatically use a certain port for a specific server?

I use ssh to get into a specific server on a specific port as normal: ssh -p <port_number> <server_name> How do I configure ssh to automatically use the right port number for a specific ...
-1
votes
0answers
19 views

Allow port forwarding in synology DSM 5 [on hold]

I need to access a remote machine ,behind a router using a DS-Lite stack, thus rendering any DDNS and NAT useless. My plan now it to have that remote box open a reverse tunnel through my local router ...
3
votes
1answer
46 views

Disable two step SSH authentication for trusted addresses

I'm using libpam-google-authenticator for two step SSH authentication which is great and adds another level of security to my server. My question: Is it possible to disable this for certain addresses. ...
1
vote
1answer
48 views

Can't SSH to any servers

It's for a day that I can't login through SSH to my servers. Using both Putty and MobaXterm. MobaXterm ends with: debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY Read ...
0
votes
1answer
35 views

proftpd: mod_sftp connection timeout

I'm using an SFTP Server based on proftpd's mod_sftp. The only problem is, that I haven't found a way to keep idle connections for longer then a few minutes. Our users request idle times for up to a ...
0
votes
1answer
25 views

SSH public/private authentication failing in Google compute engine instances

I have two instances (host names are namenode and datanode1 ) of Ubuntu 14.04 LTS running on Google compute engine. I am struggling setting up ssh root access to between them. I am providing some ...
3
votes
1answer
48 views

SSH hangs for several minutes at a time

I can SSH into a server and run commands just fine, but usually within a minute or so the session will appear to hang (become unresponsive). I can type commands but they're not even echoed on the ...
0
votes
0answers
16 views

Can the veeam FastSCP tool be pointed at any SSH server?

The FULL veeam backup suite has a "Linux Target" option where you can point the backups to a Linux server over SSH - but it really has to be a Linux server, and it has to have perl installed and sudo, ...
1
vote
0answers
9 views

SSH Multiple Hop public_key

My public key is being denied or "passed over" when chaining SSH connections to certain servers. Success: Ubuntu-A -> Ubuntu-B Failure: OSX -> Ubuntu-A -> Ubuntu-B Success: OSX -> Ubuntu-A -> RedHat ...
0
votes
0answers
15 views

Configure to enable login in a different shell pass through default shell in SSH

I would like to configure a SSH server in Linux that be enable to login a user in two different shells: one by default and one alternative. I have tried configuring SSH subsystem. I can configure ...
1
vote
0answers
29 views

Debian does not start any service at boot

I've got a VPS server running on Debian Wheezy and I monitor it with Zabbix. Yesterday, the server was unreachable, I could ping it but there was no ports open (using nmap). So I contacted the ...
2
votes
0answers
15 views

Use username + password to authentifikate to svn via ssh

I have a Debian server running SVN version 1.8. Now I want to give secure access to the users via ssh, but without creating all the users as users on the system. So here is basically a solution. But ...
-1
votes
1answer
17 views

SSH port blocked EC2

I had installed Tomcat on my EC2 instance . However i was unable to access it using my public IP:8080 . So I followed the instructions mentioned in the post ...
0
votes
0answers
19 views

debian slow login after username entry

I have searched for an answer, and found resources about changing the delay after an incorrect password entry for an SSH login, but not to my specific problem. My problem is that the delay is after I ...
0
votes
1answer
21 views

ssh remote executing program shared library not found

I want to write a script to run a program on some machines. I can login to this machines to execute the program. But when i tried "ssh -n -f hostname "cd xxx; ./xxx",it printed "error while loading ...
0
votes
1answer
28 views

Trouble connecting to Amazon EC2 over SSH via mac terminal

I'm having inexplicable trouble connecting to my EC2 instance. I'm using the below, and no solution seems to quite be working properly. Thank you very, very much for your time! ssh -v -i ...
3
votes
2answers
48 views

Can't seem to disable root login [duplicate]

I am trying to disable root password login and only allow root login with a ssh key on debian 7. cat << EOF >> /etc/ssh/sshd_config PasswordAuthentication yes UsePAM no PermitRootLogin ...
0
votes
0answers
34 views

aws VPC private subnet instance 'Permission denied (publickey).' - ssh from osx [migrated]

I'm connecting to an AWS ec2 instance in a VPC private subnet via a NAT instance and getting the error: Permission denied (publickey) This is happened after I have connected to the NAT and am ...
1
vote
0answers
36 views

sshd croaks daily with “invalid open call: O_CREAT without mode”

One of my servers has daily issues. When I log in via SSH or SFTP, I get the error below. When restoring it via a remote console, I need to purge and reinstall openssh-server. This is not enough, I ...
0
votes
0answers
27 views

inconsistent behavior of files created by an archive / ssh / tar command

Working on a deploy script, I ran into issues that I cannot explain. We have a production server (Ubuntu server 10.04), a repository (Gitlab), and a development server (Ubuntu 14.04). I work on the ...
-1
votes
1answer
29 views

SSH and many other programs are not working after chmod -r 755 /etc [duplicate]

I have a new web-admin and he mistakenly ran chmod -r 755 /etc to try and disallow our shell users from reading any other files. As a result, SSH on our server does not work. How can we fix this?
0
votes
0answers
13 views

Persistent SSH port forward without public keys [migrated]

Problem I haven't found a solution to run an SSH port forward in a reliable and persistent fashion, when the server you are connecting to does not support public-key authentication. Question What ...
0
votes
1answer
52 views

Large number of ssh login attempts [duplicate]

I logged into a CentOS box today to find the following" There were 11126 failed login attempts since the last successful login. Last login: Tue Mar 10 14:36:47 2015 from X.X.X.X Thats 11 THOUSAND ...
0
votes
1answer
17 views

Move a Sftp User in a Subdirectory of his Jail

I've a question concerning the Jail explained later: User to be jailed: foo Jail Directory: /mnt/foo-jail Home directory of foo: /mnt/foo-jail/foo-home Everything is ok. Jail is up and the user is ...
0
votes
1answer
41 views

Installing Docker with Vagrant fails because of ssh command behind proxy

I'm playing around with a Vagrant file on a machine which is behind a proxy. At the moment I stick in an issue where I'm assuming that has to do with the proxy server between. The following SSH ...
0
votes
0answers
10 views

ForceCommand vs Subsystem

Is there any particula reason why I should use ForceCommand internal-sftp instead of Subsystem sftp iternal-sftp and disabling the shell?
0
votes
1answer
33 views

SSH connection to virtual private cloud times out via proxy command but not via public host

I have a host in AWS with public DNS, bastion-prod, to which I can SSH from my local machine without any problems. From there, I can SSH to a host, reports-prod, in a virtual private cloud. However, ...
-2
votes
1answer
34 views

Install SSH key in UNIX server

I'm trying to connect to a UNIX server from a Windows server, through PSFTP. I am using this command in CMD: psftp.exe -i %userprofile%\.ssh\certificate.ppk username@unixserver The problem is that ...
0
votes
1answer
12 views

SFTP and syslog-ng custom logging format

I have modified sshd_config and syslog-ng configs to log sftp connections into separate files. Now I would like to create custom logging like: [date] [source_ip] has downloaded the [filename] [size] ...
0
votes
1answer
26 views

Create tar on remote server and send it back over SSH

All the scripts I've seems to be pushing code from server to a backup server, I am trying to set the backup server to pull code from a live server. I've managed it with the sql: ssh -C ...
1
vote
0answers
80 views

Access to equally defined VM in different VLANs

I have a working libvirt cluster and in order to perform some paralellization I have duplicated it. At the moment my scenario looks like this: two clusters whose VM definitions are exactly the same, ...
0
votes
1answer
31 views

SSH server accepts connection and immediately disconnects [closed]

I'm testing Bitvise SSH Server. In Setting -> Server -> Binding and UPnP, I enabled obfuscation. In Setting -> Server -> Access control, I only allow account lv to login. It is only me who supposed to ...
0
votes
1answer
23 views

ssh port is different from what is connected

Ok, so here's the deal. I setup an Iptables rule as follows: IPTABLES -A INPUT -p tcp --dport 51722 -j ACCEPT and if I do systemctl status sshd.service, I get the following: Server listening on ...
0
votes
1answer
27 views

Why is my shell command not working?

I have a shell script that I'm working on that uses pssh to get the user id of a user on a remote server: for USER in $(cat users.txt); do runuser -l mike -c 'pssh -H server.mike.com -o ...
0
votes
0answers
17 views

How do I use my own local text editor to modify system (requires root to save) files on a remote system? [migrated]

I've recently fallen in love with github's Atom text editor, and I enjoy using it for all my local coding and configuration. I started to maintain a Nagios installation for several dozen servers and ...
-1
votes
1answer
28 views

How would I add an SSH user as a member of www-data jailed to /var/www/html/?

I have been trying to setup ftp access on my Ubuntu 14.04 Apache2 server and so far I only have a root user. The problem I am running into is that the uploaded files are owned by this user whereas I ...
0
votes
1answer
59 views

I cannot connect to OpenSSH server running on Ubuntu server from Git bash running Windows, through Cyberoam firewall in network

Situation: I am trying to connect from OpenSSH client inbuilt with Git Bash running on Windows 7 professional x64 to OpenSSH server that runs on Ubuntu Server LTS 14 x64. Both of which are over the ...