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)

0
votes
0answers
4 views

SSH host based authenticatoin setup failed on Solaris 10

I wish to connect SSH from machine1 to machine2 without password. machine2 is using Solaris 10. I generate keypairs on machine1 using user user1 and transferred the public key to machine2 under user2. ...
0
votes
1answer
9 views

Location for private key file for SFTP user

I would like to create a user account that can access web server files. I could set the home directory of this user to /var/www now, but the standard location for the authorized_keys file is in the ...
0
votes
2answers
30 views

Access my server through SSH with the domain (with Cloudflare)

I have this server (44.44.44.44, for instance) running a webserver. I have routed pollnote.com to the server to access my webserver. Everything works fine. To access the server, I added my Public Key ...
0
votes
1answer
12 views

Does Terraform Deal with “known_hosts” upon changing infrastructure? If so, how?

I'm very new to terraform so maybe this is not a great question. But I'm running through [this Amazon EC2 example] and at one point it tries to SSH to the machine, I assume to install nginx. This is ...
1
vote
1answer
18 views

git clone ssh syntax difference?

Setup There is a host (H1) running gitlab-ce git server within a docker container (C1). The host's OpenSSH server runs on port 22 and provides a host key keyH. The gitlab container provides its own ...
1
vote
3answers
465 views

Retrieve Private SSH Key

How do i retrieve the private key so i can deploy to my server? (I'm trying to use the cloud66 deploy to your own server option, it asks for private key) running cat ~/.ssh/id_rsa on my local ...
0
votes
2answers
32 views

how to ssh from a vm to another vm that is on a different host

I have 2 CentOS computer in the same local area network. Both computers have their own virtual machines running CentOS. I would like to ssh from the virtual machine of 1 host to the virtual machine of ...
0
votes
1answer
10 views

Start ipsec tunnel from another machine

I have to monitor the IPsec tunnel on machine A which is behind a firewall F, where the OpenSwan sits on. From machine A, if the tunnel goes down, I would restart the tunnel on machine F. What I did ...
0
votes
1answer
67 views

CentOS How to upgrade openssh to 6.9

I have to upgrade openssh. I follow this page just instead the rpm 6.7 to 6.9 But When I run rpm -Uvh /root/rpmbuild/RPMS/x86_64/*.rpm I had problem : error: Failed dependencies: openssh ...
0
votes
1answer
18 views

sftp server chroot initial directory

I have configured an sftp server with chroot and it works fine, the only thing that is bothering me is the initial landing directory, since the sftp user does not have write permissions in the landing ...
4
votes
1answer
43 views

SSH connection refused/error message

I have a systems which has multiple users but only few selected users are allowed to login to the system at a given time through SSH (or otherwise). I am using "passwd -l/-u" command to lock and ...
2
votes
3answers
83 views

word wrap in ssh session not working with grep

When I ssh to my Linux servers and use grep like this: grep 'timeout exceeded' logfile | less word wrap does not work. However, if I use the same command but use less first, like this: less ...
2
votes
0answers
32 views

Openshift SSH permission denied through corporate proxy

am trying to connect local->cntlm->company proxy->rhcloud host. I have the keys uploaded to rhcloud and GitHub. With the current configuration with corkscrew i am able to connect to git via ssh. ...
0
votes
0answers
15 views

Git bash not recognizing anything config file parameters [migrated]

I have a hosting plan from the folks at HostGator. They allow SHH connections on port 2222. I'm using "Git Bash" on Windows to connect to HostGator via SSH. Works fine with this ssh -p 2222 ...
0
votes
0answers
16 views

Issue connecting with ssh into ubuntu server

We have a number of devices that use rsync to sync up files to the server. The rsync in turn uses ssh to make the connection. Since this morning the ssh connections through this channel are not ...
-1
votes
0answers
38 views

I can only access my wordpress site using IP address but not with domain

I uploaded a fresh copy of the latest wordpress 4.2.3 and uploaded it to a domain folder in /home/abc.com/public_html/ using Kloxo-MR file manager. After setting up the wp-config file and setting up ...
1
vote
1answer
28 views

OpenSSH server frozen, can't unfreeze using Escape Char in OpenSSH client

Connecting to Ubuntu Server 14.04.2 from a OpenSSH client in Xubuntu 15.04 I can't unfreeze the session which has timed out, I have tried the ~. escape character but the terminal won't even let me ...
0
votes
2answers
37 views

ssh user@localhost vs user@servername

I am working with 2 servers (Redhat enterprise 7). When i ssh both of them. One is showing user@localhost where the other is showing user@servername. I would expect to have both like user@servername ...
-2
votes
0answers
14 views

Strange issue with Mac OS X Server and Apache with SSH [on hold]

I'm having a strange issue with my Mac mini server running Mac OS X 10.10.3 This box runs Apache HTTP 2.4, and runs several vhosts off of that. The issue I'm having after a recent update is that ...
0
votes
0answers
23 views

I accidentally installed whereami on my EC2 instance (ubuntu) now I can't ssh into machine

I misunderstood what this command does I believe. I thought it just told you the hostname, but apparently it tries to make changes to your networking configuration as well. Is there anything I can do ...
0
votes
0answers
24 views

Having trouble to connect sshd on CoreOS sometimes

I have 12 node of bare-metal CoreOS cluster (on SuperMicro Blade). Every nodes was installed with same image and cloud-config. (Stable 717.3.0) The problem is that I fail to connect sshd frequently, ...
0
votes
1answer
22 views

SSH user minimum permissions

I am working on an application which sshes into servers and gathers information about the server such as disk and memory usage. Another task it needs to do is get file size information of certain ...
0
votes
0answers
13 views

ssh: connect mysql and filezilla [closed]

I have an Ubuntu Server v14 running and want to connect with the following over SSH: MySQL Workbench FileZilla Both programs keep giving errors that they can't get a connection. Connecting via the ...
0
votes
0answers
10 views

Unable to perform operations on files due to special characters / character encoding via SSH

Today I had a backup of my files restored onto a server which I am connecting to via SSH. It appears that some of the file names with Japanese characters were messed up and I am unable to perform any ...
0
votes
1answer
32 views

openssl on Ubuntu - no zlib

on my Debian machines when I enter openssl -V I see the zlib algorithm. On Ubuntu I do not have zlib support for openssl, so the SSH also not support zlib. Why is this? I tried several thing to get ...
0
votes
0answers
37 views

How to evaluate security risks of a git server installation

I need to evaluate the security risks of code being hosted on a virtual machine in a git repository. Its an area relatively new to me as a programmer. I want to setup the git repos, but I have to ...
0
votes
0answers
17 views

Why am I able to SSH locally and start Windows services, but unable to do the same remotely?

I have a Windows Server 2008 R2 virtual machine that is running Cygwin and SSH. I'm able to SSH using my id_dsa key by issuing command ssh svc@IP "hostname;whoami", which returns what I would expect. ...
-2
votes
1answer
15 views

SSH Tunnel after VPN [closed]

i need to create smth. like this: {Desktop} - VPN - {Server1} - SSH_TUn - {Server2} -> Internet I can make vpn-server as newbie and can make ssh_tunnel, but i donno how to route traffic ...
1
vote
1answer
35 views

Host keeps asking for password when using SSH Keys with PuTTY for Windows

I'm using PuTTY for Windows to connect to dreamcompute-VPS(dreamhost). At dreamcompute panel, I created a private key and downloaded it, a .pem file. Using PuTTYgen, I converted this file to .ppk as ...
1
vote
0answers
50 views

Slow ssh login - Activation of org.freedesktop.login1 timed out

On one of my servers I've noticed really delay on SSH logins. Connecting using the ssh -vvv options the delay occurs at debug1: Entering interactive session. extract of connection: debug1: ...
0
votes
1answer
44 views

SFTP clients not respecting default UMASK permissions [duplicate]

Here's my situation: I'm setting up an Ubuntu 14.04 web server for a team to share. I'd like the team to have read/write access to everything inside var/www/html (same as CHMOD 775 on every file and ...
2
votes
1answer
22 views

AWS :: Ubuntu instance consistently denying my private keys

Sorry to ask this question again, as I know its been asked a crap load of times... I have been through a bunch of previous posts but have had no luck. Have tried everything... Steps: 1.) Launch ...
-3
votes
1answer
33 views

SSH with user root from 2 different stations both running passwd [closed]

A few days ago, we were connected to a xenserver through ssh (user root) from 2 different stations. And we tried passwd, and we changed the root password to 2 different passwords simultanously. And we ...
-1
votes
0answers
30 views

How can i ssh with my ipv6 via putty [closed]

i configured my sshd_config as : AddressFamily any ListenAddress 0.0.0.0 ListenAddress :: ListenAddress [2001:bc8:2095:101::5]:512 i cant connect via putty. I tried the address without a ...
0
votes
0answers
28 views

Simple secure firewalld allowing only ssh?

I am upgrading to CentOS 7 and learning firewalld. When I set up a new server my default iptable config for best security was (I believe this is a pretty standard config): # IPv4 iptables -F ...
-1
votes
1answer
18 views

How do i mount root files from recovery mode

Hey can anyone tell how to mount my root files to edit sshd_config in recovery mode? im new to linux so can you give me step by step instructions? im using ubuntu as recovery mode. to edit files in ...
0
votes
1answer
22 views

Can't ssh after configuring sshd_config

I have configured my sshd configuration files to listen to ipv6 addresses, but forgot to uncomment ipv4 local addresses. Here is a snippet from my configuration file: AddressFamily any ListenAddress ...
0
votes
1answer
23 views

SSH login asks for password

This is the first time I'm trying to set up a VPS, so please bare with me. I've followed the steps of Digital Ocean to create a droplet. I'm using Cloud9IDE for the development of my app. The steps ...
0
votes
0answers
20 views

SSH asking passphrase every time when two users logged in with same pem key

Me and my colleage are connecting to the same instance using same pem file. Now when i run git fetch on a repo . It makes a ssh connection successfully without asking for the passphrase , but if my ...
2
votes
1answer
32 views

How to make ssh send a certificate for a key stored on a smartcard

I have a gpg key I use through a smartcard (yubikey neo) to ssh to many hosts. Some of these hosts use certificates as well as keys to authorize logins. For normal keys that are stored locally there ...
0
votes
0answers
15 views

Provisioning Vagrant Environments Capable of Cloning Repos Immediately

For some reason, I am having an incredibly hard time getting a working solution for this. We are ATTEMPTING to use Vagrant to provision our development environments. In regards to this post, our ...
-1
votes
0answers
18 views

Mac server ports shown randomly open and close

A client of mine has a server on a mac pro, and I manage it using ssh from a remote location. Last time I tried to ssh into it it gave me the error port 22: Connection refused. so I did an nmap ...
0
votes
1answer
36 views

How to rsync to remote machine with user1 for ssh and user2 as remote rsyncer?

UPDATE: it seems I have to use rsync modules. So I created a very simple rsyncd.conf in the home of user2 on the remote server with: [test] path = /dest It does not work, but the problem seems ...
0
votes
2answers
60 views

SSH sessions hang on shutdown/reboot

I have a server that runs Debian and sshd on it, and in case I need to reboot the server my SSH session hangs at client side until TCP timeout. I assume this is because when sshd is being terminated ...
-1
votes
1answer
36 views

SSH tunnel to MySQL running on FreeBSD (Heidi SQL)

I'm trying to use a SSH tunnel to access a MySQL-server running on a FreeBSD 10.1 server. These attempts are done with Heidi SQL (http://www.heidisql.com/). The SSH daemon on the FreeBSD server does ...
0
votes
0answers
11 views

git server via ssh access alternate root (like svnserve -r root)

Is there any more elegant way to achive this? I want a dedicated git server for a multitude of (LDAP)users and multiple repositories. The repositories actually reside on a different server mounted ...
0
votes
1answer
36 views

How can I download a complete image of my DO VPS to an image for a VM over SSH?

There isn't a way to download a complete image from Digital Ocean VPS hosting through their web UI. How can I download an entire image of the VPS that I can use locally on a VM or upload to another ...
0
votes
0answers
20 views

OpenVPN client on Amazon EC2 leading to SSH disconnect

I am running Ubuntu 14.04 on Amazon EC2.. I am trying to connect the EC2 instance to an OpenVPN so the traffic routes through the VPN.. When I do a sudo openvpn --config <config>.ovpn, the ...
-2
votes
1answer
45 views

Issues with ssh and Ansible

When running an ansible task (with a script action), I'm getting this error message: stderr: OpenSSH_6.0p1 Debian-4+deb7u2, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data ...
2
votes
2answers
29 views

Google authenticator / SSH: multiple shared secrets per user & sharing of shared secrets over users

I would like to add Google's authenticator app to our SSH authentication toolchain, as described in this article However, it seems that the PAM module basically makes a hard link between "linux user" ...