Secure Shell (SSH) is a protocol primarily for encrypted shell connections.

learn more… | top users | synonyms (2)

0
votes
1answer
34 views

Temporarily disable SSH for all users except one and print a banner

I am planing to upgrade a server that have some SSH and rsync(over ssh) users. During this time that I am upgrading the server I don't want anyone else to login to the server. Is there a way for me ...
-1
votes
2answers
41 views

SSH Password probability [on hold]

Okay, before anyone states the obvious, I know Public/Private keys are far superior to passwords for ssh authentication. That said, does anyone know how to figure out the statistics for the following ...
0
votes
0answers
20 views

SSH log file contains only binary data?

I'm practicing with some web application vulnerabilities in my test environemnt, and one of the things I am trying to use the SSH log file with a LFI vulnerability. However, I'm noticing that even ...
-2
votes
0answers
25 views

Unrar local files to remote server [migrated]

I have two Linux servers, one which has several RAR files and another empty one. I would like to extract the archives and move the content to Server 2. The problem is: I do not have enough storage to ...
-1
votes
2answers
25 views

CentOS Linux: One server inaccessible via SSH, while others are

There is a server that cannot be connected to via SSH (port 22). Please consider these three servers all running CentOS 5.x: Specifications server1 - SELinux enforcing server2 - SELinux permissive ...
0
votes
1answer
17 views

Is it possible to create ssh socks server with authentication required?

I was looking at this question while I was trying to find a good socks server for linux that would be easy to configure. The following command works fine: ssh -f -N -D 0.0.0.0:1080 localhost I ...
-3
votes
0answers
83 views

What is the best practice to build up a secure connection between networks through the internet in the described case [on hold]

I need to deploy services/servers on MyNetwork to be able to serve the described basic infrastructure: Original image Adding more description: 1. I'm having N Customers with their own LAN connected ...
0
votes
0answers
19 views

Cannot connect SFTP with FileZilla

I have OpenStack Havana installed in Ubuntu 12.04.4 Server. I have successfully launched a Ubuntu Cloud image's instance in OpenStack. I can successfully ping/SSH to my instance via my OpenStack's ...
0
votes
0answers
18 views

How can I turn off OpenSSH's version response? [duplicate]

If I do a GET request to an ssh server, it responds with the exact version. curl http://ssh.somewhere.com:22 SSH-2.0-OpenSSH_6.0p1 Debian-4+deb7u1 curl: (56) Recv failure: Connection reset by peer ...
0
votes
1answer
47 views

dd command piped over gzip and ssh faster and faster as dd progresses

I am running the following command to copy a LVM from one host to another: dd if=/dev/vg_1/lv1 conv=noerror,sync bs=4M | gzip | ssh user@ip 'gzip -d | dd of=/dev/vg_2/lv1 bs=4M' To begin with I was ...
2
votes
3answers
53 views

No shell and launch application on login

I am working on migrating an application from OpenVMS to RedHat Linux 6. The application is a green screen terminal application. The users will log into Linux via SSH and the application should ...
-5
votes
1answer
42 views

Does a tool like ansible make it possibly to get a secure server, without knowing a lot about security? [on hold]

If I modified something like this into a server similar to the one described here with a minimal set of services (what you need for ssh, basically) would it be reasonably secure? sovereign: A set ...
0
votes
0answers
24 views

SSH not working in mac os x

I am using OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 on mac os x. I can't able to connect my LAN machines using SSH after connected VPN(fortinet). Below is the ssh debug trace. OpenSSH_6.2p2, ...
-1
votes
0answers
28 views

MySQL manager or server PID file could not be found! [FAILED] [on hold]

I'm looking the whole afternoon for a solution. Problem was an error on all websites of one webserver, "could not connect to database". We didn't make any configuration last weeks, run no updates. ...
-4
votes
1answer
28 views

How to allow my slave to have ssh access to myh master without prompting for a password [on hold]

My slave server still asks for a password despite master and salve having the same keys both pub and private. How is this possible? I am on Ubuntu 12.04. In the slave: ssh-keyscan ...
0
votes
0answers
18 views

Multiple upstreams with SSH from Bitbucket

I'm a bit new to deployment on servers, straight from Bitbucket to my VPS. One thing I couldn't figure out by myself or Google was the following: The first Bitbucket project I added with git ssh to ...
0
votes
0answers
28 views

SSH freezes when idle for a time

Connecting from Ubuntu Desktop x64 14.04's ssh client to an Ubuntu Server 14.04 x64 SSH server on Microsoft Azure. Unfortunately when it is connected and left idle for a time; the connection freezes ...
1
vote
1answer
141 views

Why does my command stop when I exit SSH? [on hold]

I am running the following command in a loop (without notable memory leaks) as a cPanel user: nohup php ~/www/app/console.php run clean 1> /dev/null 2> ~/www/logs/run_clean.log & But when ...
-1
votes
0answers
19 views

Is it possible to run a VNC on Google Cloud Platform?

Everything I've read so far indicates that the environment is very prepackaged and not flexible in terms of envoronment customizations. Could I customize app engine to be a VNC just like I could for ...
1
vote
2answers
32 views

How do I get AWS EC2 Ubuntu Server out of “Stopping” state?

I was unable to SSH or SFTP into my ubuntu server on EC2 this morning. It should be noted that SSH and SFTP were working fine up until now. To troubleshoot this I did the following: Logged into AWS ...
3
votes
3answers
57 views

Disallow ssh keys without passphrase [duplicate]

I'm currently disabling password authentication on all my ssh servers (good idea of the day!). Some of my servers are shared with other people and I want to force them to use a ssh key with a ...
1
vote
2answers
45 views

ssh rsa or dsa connection fail [on hold]

I explain steps for make rsa key. create rsa key [user@host01 .ssh]$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/user/.ssh/id_rsa): Enter ...
0
votes
1answer
88 views

OpenSSH and heartbleed? [duplicate]

I just updated a Debian Wheezy server for the first time today, after the heartbleed bug. OpenSSL is not installed on this server, so I thought the server was not affected, and therefore it was put on ...
0
votes
0answers
29 views

Did not receive identification string from xxx. With a very long interval [closed]

I am not really sure what should I do in such situation. There are similar questions on this site like this, but I highly doubt that the answer there is applicable in my case. When I check ...
9
votes
2answers
522 views

SSH home directory per subdomain

I'm wondering if it is possible to set different home directories for the same ssh user for each subdomain. So let's say you login with ssh myuser@example.com your home directory will be: ...
2
votes
2answers
35 views

SSH key and ip address

A co-worker keeps mentioning SSH keys being associates with an IP address but Im not sure what it exactly means. So i tried generating a SSH key and it had my host name at the end of the file. This ...
1
vote
1answer
31 views

Port based routing on ubuntu

My situation: A ubuntu server is part of a LAN with 2 gateways. The one offers high speed with high latency. The other low speed with low latency. My server usually uses GW1 for all traffic (because ...
0
votes
0answers
16 views

restrict shell commands for munin-node (netcat)

I've spent fair amount of day fiddling with this, and I'm about to give up (for today). I followed the instructions outlined here. All works at the moment. But to increase security I'd like to ...
-3
votes
2answers
41 views

remote ssh not being allowed [closed]

I had a 3rd party company harden our server. I now need my server host to update our ssl certificate but they cannot ssh in to do so. I will not even let them enter a username and password. Now ...
-1
votes
0answers
26 views

ssh first time and use custom .inputrc [closed]

I need to log in to number of different containers and vm's all the time. As I use vim style .inputrc keybindings it's rather inconvenient to work there so first thing I do is: scp ...
1
vote
2answers
31 views

Remotely executed commands

It's possible to run "ssh user@server $command". This command does not write to bash history, as no shell is opened. I am wondering what signs are present on a server to show evidence of this command. ...
0
votes
0answers
9 views

ubuntu 12.04 - sftp umask with usergroups_enab [duplicate]

In /etc/login.defs I have UMASK 022 and USERGROUPS_ENAB yes This works as expected when logging in through ssh as a user in a single-user group (eg, admin:admin). I end up with 0002 as the umask. ...
1
vote
0answers
37 views

How to add two-factor authetntication to ssh?

I am trying to add 2FA to sshd using PAM from oathtool package. I want two ways to login to server: publickey and 2FA, or password and 2FA So far I managed to add 2FA to publickey authentication, ...
0
votes
1answer
18 views

Apache2 reverse proxy connections staying persistent, filling ssh channels

I have a webserver (Amazon Linux EC2 instance running Apache2), let's call it "server A", on which I have set up reverse proxy using: # (All the appropriate modules are loaded higher up in the conf ...
2
votes
1answer
37 views

How to reset self-signed keys that allow remote shell access to server in (Debian) linux

This is not something I've ever had to do before, and in light of the heartbleed bug I've been looking for a guide of how to do it properly, but all I can find are guides on how to log into a server ...
2
votes
1answer
58 views

pam service(sshd) ignoring max retries

I have vps that I use to run a webserver on, it currently runs ubuntu server 12.04. Since a few weeks I keep getting a lot of errors in my ssh console. 2014 Apr 11 08:41:18 vps847 PAM service(sshd) ...
1
vote
2answers
27 views

Fixing “Could not chdir to home directory” on a homeless user

Basically I created a new sudoer without a home directory (adduser --no-create-home), but now, everytime I login with it I get prompted with a "Could not chdir to home directory: No such file or ...
2
votes
3answers
160 views

Cannot log in into a server by ssh connection

was connected to a server via ssh through port 22, and decided to kill all the users connected with the root user with the following command: pkill -9 -u root Now when I try to log in by ...
0
votes
1answer
68 views

Number of SSH connections rises, and blocks data?

We have a client server setup, where the client sets up an SSH tunnel and uses port forwarding to send data to the server: ssh -N -L 5000:localhost:5500 user@serveraddress The normal number of SSH ...
1
vote
1answer
22 views

CentOS VPS : how to enable PermitRootLogin

While logged-in in to "root" via ssh I disabled PermitRootLogin setting in /etc/ssh/sshd_config file. It was advised to do so in the Cpanel's security adviser. Now I want to re-enable it for short ...
0
votes
1answer
62 views

Enable Jailshell Access from Command Line

There is an option in whm/cpanel to enable jailshell access for any hosting account. I want to know if it is possible to enable that option for any or all cpanel hosting accounts through command ...
0
votes
1answer
34 views

Cannot find home directory on Linux Server

I have recently been granted access to a Linux server where I transferred some data. Now, for some reason, when I use WinSCP or any other program to connect to the server, instead of logging in ...
1
vote
1answer
37 views

how do deal with ssh config, and and passphrase

Why oh why am I being asked for a passphase when cloning from github?? git clone git@github.com:test/testchef.git Cloning into 'chef'... The authenticity of host 'github.com (xxx.xxx.xxx.xxx)' can't ...
0
votes
1answer
31 views

ssh and being prompted for a passphrase when none exists

I created keys without a passphase on server A I place the keys on server B: git_id_rsa git_id_rsa.pub I ran: cat ~/.ssh/git_id_rsa.pub > ~/.ssh/authorized_keys created a ssh config: ...
-4
votes
1answer
32 views

How to add ssh public keys to server? [closed]

On all of my servers I added the below in .ssh git_id_rsa git_id_rsa.pub The public key was added to git hub. When I do a git clone I get the below: Permission denied (publickey). fatal: The ...
1
vote
1answer
26 views

SFTP password wrong from remote, but not from local

From my server, connecting to it via eth0 (not localhost), I can connect via SFTP: Apr 9 10:02:40 domain sshd[11526]: Accepted password for test from 1.x.x.x port 45335 ssh2 From a remote ...
0
votes
0answers
36 views

Ubuntu jail SSH & SFTP

So I'm having trouble with jailkit. SSH is working fantastically, SFTP not so much. zoneminder:x:1001:1002:,,,:/home/jail/./home/zoneminder:/usr/sbin/jk_chrootsh scott@neptune:/home/jail/home$ ls -l ...
3
votes
3answers
68 views

private key and public key in same directory causes ssh to fail

I have this really weird problem where I'm trying to connect using SSH to a remote server. I'm doing this from the command line, and both the private key and public key are located in my current ...
1
vote
1answer
32 views

LImiting overall memory usage for child processes

I have a long-running script that launches several child processes on a Linux machine with 8GB of memory. After a few hours of running, it takes up nearly 90% of memory, and this makes other services, ...
0
votes
0answers
82 views

Heartbleed: Is openssh affected? [duplicate]

I've read the site about HeartBleed, but still wonder if it affects openssh servers? Most people talk about HTTPs and VPN.