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

Find which php files are causing high CPU load on linux

I have a wordpress site running on my server. It's eating a lot of cpu. Searched all internet and didn't find any script or command to view which files are causing this load. Tried commands like top, ...
0
votes
0answers
3 views

CoreOS on VirtualBox only works with one adapter at a time [migrated]

I'm trying to learn more about CoreOS. (I'm not using Vagrant, just plain-old VirtualBox.) So I created a disk using coreos-install. Unfortunately, I can't find my original cloud-config.yaml file, but ...
-1
votes
1answer
21 views

Connect to database server inside a tunnel inside a router

I'm using Ubuntu and trying to connect to a database server wich is accessed by a tunnel in my server wich is inside a router and I only have ssh connection to my server. Is there a way to do that? ...
1
vote
2answers
32 views

sshd: logging client's public key

I need to run an SSH server and log the IP & public key of any client that attempts to connect (without actually granting access). The use case is this: I deploy this web app to a remote host ...
-1
votes
0answers
24 views

How I can change all symlink to the new path [migrated]

Please, I want to change the symlink to the new path My symlink's in this form lrwxrwxrwx. 1 s01 s01 56 Mar 22 13:17 zmjppcxlpq2m.png -> /home/s01/public_html/cgi-bin/uploads/00029/zmjppcxlpq2m ...
-1
votes
1answer
19 views

Linux SSH abnormal activity

I found an IP 192.168.1.100 accessed to localhost with public key successfully for 38204 times within two weeks. I checked secure file for more detail about this IP. This client logged in for every ...
-1
votes
0answers
12 views

ssh without password multiple shared hosts [migrated]

Hey I know this is a simple task but i was getting some trouble do to my setup. I have 3 servers on which i want to be able to ssh without being prompt a password. But the thing is each of those ...
0
votes
1answer
20 views

How to scp file to remote servers' root directory and run sudo commands?

NOTE: The servers does not share the same password but I will setup no-password login at first. Here's the use case, I need to do these below step by step in my deploy.sh: scp files to remote ...
7
votes
2answers
489 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
11 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...): > ...
2
votes
1answer
27 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
11 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
30 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
47 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 [closed]

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
34 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
32 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? [closed]

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 [closed]

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
51 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
26 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
49 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
37 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
28 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
54 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
46 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
35 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
13 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] ...