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
7 views

Reset password for Azure virtual machine

I forgot my user account to log in to my Azure Virtual Machine. From the new portal I tried the option "Reset password" entering a new user and password. However, I get the notification: Failed to ...
107
votes
9answers
52k views

Keeping a linux process running after I logout

I'm connecting to a Linux machine through SSH, and I'm trying to run a heavy bash script that makes filesystem operations. It's expected to keep running for hours, but I cannot leave the SSH session ...
0
votes
2answers
12 views

accessing a server via SSH through ilo - dumping information/current state

I'm having to frequently access servers via ilo - ssh only, no web interface. Am I meant to be able to bring a server back up through just this tool? Or utilize others like ipmtool to be able to do ...
0
votes
0answers
10 views

Failed to load module pk-gtk-module

I am running RHEL6 and I am sshing into a linux server. Every time I open gvim or emacs, I get this error $ gvim Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open ...
0
votes
1answer
5k views

Able to connect by SSH, but not x2go

I am having trouble connecting to a remote server with X2GO using a DSA key. Connecting works fine over SSH, but when I try to connect with X2GO, it goes immediately to the username/password box and ...
-1
votes
0answers
14 views

RaspberryPI OpenVPN Client Not Forwarding to tun0 [on hold]

reposting from the RPI SO I found plenty of guides for how to run RPIs as OpenVPN servers, but I want to run it as a client. I have a OpenVPN server set up using the following guide here: ...
2
votes
2answers
25 views

How to configure pfsense to allow vpn clients to appear as if they are coming from the PFSense WAN?

I have a specific host I need to get to via ssh (call it 'work'). I have a static IP at my client location (call it 'client') to enable access to this remote 'work' box. The people at 'work' then ...
0
votes
0answers
26 views

SSH host-based authentication 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. ...
10
votes
5answers
7k views

Allow root login from one IP address only

I have centos5. Is there any way that i can log into my vps server with root user from particular ip address only. I have read that i can use private key to login into sshd. But the problem is i am ...
0
votes
2answers
4k views

check_ssh executed from Nagios server returns “Server answer: ”, nothing else

Commmand works on the host I need to monitor (its IP is denoted as $HOSTADDRESS$ here): [root@host ~]# /usr/local/nagios/libexec/check_ssh localhost SSH OK - OpenSSH_4.3 (protocol 2.0) However, on ...
0
votes
2answers
33 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 ...
-1
votes
1answer
15 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 ...
2
votes
4answers
2k views

How can I allow the user “postgres” on one server to rsync to another?

I'm trying to get this command to work as the user postgres (so I can ship wal files): rsync -a /tmp/test postgres@server2:/tmp/test But I get the error: Permission denied (publickey). I've run ...
0
votes
1answer
15 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 ...
13
votes
11answers
52k views

How to recover from “Too many Authentication Failures for user root”

I've done several attempts to establish SSH-connecton for user root@host using putty terminal. While doing so I specified wrong credentials several times and after that I've specified them correctly, ...
1
vote
1answer
21 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
471 views

Retrieve Private SSH Key [on hold]

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
34 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 ...
3
votes
1answer
979 views

Git clone from Windows to Windows cannot find the repository

git clone gituser@<server>:myRepo.git doesn't work, fails with the error message: fatal: ''myRepo.git'' does not appear to be a git repository Background: We have a Windows 7 machine set up ...
1
vote
1answer
3k views

Lost connection to MySQL server at 'waiting for initial communication packet', system error: 2

I've just spun up a new RackSpace VPS using Ubuntu. I'm normally using CentOS so forgive me for any Ubuntu newbie mistakes. I set up an SSH tunnel using Putty and tried to connect via SQLYog, ...
0
votes
1answer
11 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 ...
2
votes
2answers
2k views

Cannot connect to Openstack Instance via horizon, but SSH works?

I've got an OpenStack deployment running inside a VM for testing purposes. My setup is as follows: Host Ubuntu x64 with Virtualbox -> Guest Ubuntu x64 with OpenStack -> Ubuntu X64 Server Test ...
-1
votes
1answer
42 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 ...
1
vote
0answers
54 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
86 views

CentOS How to upgrade openssh to 6.9 [on hold]

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
2answers
4k views

How can i forward the http and ssh port to my internal server using iptables

I do not have the router so i make the Linux system into router having centos 6.4 for forwarding the Public network traffic to my local LAN.It has the two NIC card. one for public ip (eth1) and ...
3
votes
3answers
11k views

Can't login to Cygwin sshd server with a non-administrator user account

I'm having some difficulties logging in to my Windows 2008 server (a DC) running Cygwin sshd. I can log in fine with an account that is a member of the Domain Admins group, but when I try with a ...
2
votes
4answers
16k views

SSH fails: PTY allocation request failed on channel 0

So I googled the error and checked serverfault, but the solutions didn't fit. Most results were problems with /dev/pts, but that is mounted. Other results are errors with git, but there is no git on ...
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
84 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 ...
72
votes
6answers
76k views

Can I automatically add a new host to known_hosts?

Here's my situation; I'm setting up a test harness that will, from a central client, launch a number of virtual machine instances and then execute commands on them via SSH. The virtual machines will ...
2
votes
0answers
34 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 ...
6
votes
1answer
66 views

Forward SFTP user to chroot subdirectory after authentication

I've set up a SFTP server using OpenSSH, everything works fine and the users I created can connect. After authentication, the users find themselves directly inside /chroot, a directory they are not ...
2
votes
1answer
7k views

How do you configure X11 forwarding over SSH on AIX?

Here is what I've tried. I've edited /etc/ssh/sshd_config on the remote AIX system X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes as well as set $DISPLAY DISPLAY=localhost:10.0 export ...
-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
29 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
38 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 ...
1
vote
1answer
1k views

Windows CA to issue certificate to authenticate SSH to a Linux server

I have a Windows Server Root Certificate Authority, Linux SSH server, and users with Windows SSH clients. The Linux box is not part of the AD domain (and probably never will be [sigh]) OpenSSH 5.4 ...
26
votes
15answers
22k views

Login without running bash_profile or bashrc

So let's say one typoed something in their .bashrc that prevents him (or her) from logging in via ssh (i.e. the ssh login exits because of the error in the file). Is there any way that person could ...
-2
votes
0answers
21 views

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

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
25 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
23 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
3answers
470 views

How to reset root password on a Linux VM on Windows Azure?

I have a Linux VM running for over a year on Azure. I have forgotten the password to my account. I am however still able to ssh into the vm as it has my ssh key. Note that the root account does not ...
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
1answer
33 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 ...
5
votes
3answers
4k views

ssh uses wrong home directory in Cygwin

$ ssh usaname@login.somehost.no Could not create directory'/cygdrive/c/Documents and Settings/vidar kongsli/.ssh'. The authenticity of host 'login.somehost.no (...)' can't be established. RSA key ...