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

learn more… | top users | synonyms (2)

1
vote
0answers
30 views

Slow first login to a AD-joined Samba box

I have joined my first Debian box to an Active Directory (2008 R2). It works, I can log in with AD credentials, browse Samba shares. There is just a problem with the time it takes for someone to log ...
0
votes
0answers
35 views

Creating SFTP Users chrootdirectory /var/www

I am trying to create a new sftp user in Ubuntu 12.04.4 and am running into some trouble. After creating the first sftp user, I document the commands for later user and then delete the user and try ...
0
votes
0answers
26 views

CentOS - can't disable password authentication [duplicate]

I have Linux Mint on my local machine and CentOS release 6.5 (Final) on VirtualBox, and I'm trying to set up public key authentication via ssh-keygen -t dsa. The problem is that when after all I type ...
0
votes
2answers
39 views

How to enable KeepAlive in putty command line

currently i am using putty like this from the command line: putty.exe -ssh user@192.11.11.11 -pw mypassword how do i enable KeepAlive so that the connection doesnt die if i leave the terminal ...
1
vote
1answer
31 views

Using a reverse tunnel to access a firewall-ed web server serving HTTPS

I have a device ("A) on my network that only serves content via HTTPS, it's not accessible as its behind my router/firewall. I have another machine ("B"), elsewhere on the internet (fake IP of ...
0
votes
0answers
18 views

rdiff-backup --remote-schema does not take input

I'm trying to set up rdiff-backup between my windows host machine and my remote linux machine. I'm using Windows 8.1. SSH and rdiff-backup is indeed within the PATH environment variablle... With the ...
0
votes
0answers
38 views

Can't use SSH anymore after installing denyhosts [migrated]

so I'm in a very tricky situation. I've installed denyhosts on my debian machine and suddenly I can't use SSH anymore. Hopefully I could still login through webmin, but with root, so I had to login ...
1
vote
2answers
41 views

Forwarding X11 with one hop without X-server installed

problem I want to run X-applications remotely on a machine C from my client A. The only way to connect to this machine is by using machine B (firewall) as a hop: A --> B --> C So far, simple ssh ...
0
votes
1answer
32 views

Convert EC2 ssh .pem key to Azure X.509 certificate?

Normally I use a pem file to login into my ec2 instance via ssh -i key.pem Now, in Azure, their requirement during instance creation is UPLOAD AN SSH KEY OR PROVIDE A PASSWORD FOR AUTHENTICATION ...
0
votes
0answers
32 views

Run pam_exec after home directory creation CentOS 6

How can I make a pam_exec script in /etc/pam.d/sshd run after the home directory has been created? I am on CentOS 6.5 and use network accounts via PBIS / Likewise-Open. Right now, if a new user ...
-1
votes
1answer
48 views

SSH through another machine at work to an external server [duplicate]

I'm fairly sure this will have been asked before, I have found similar questions but I do not fully understand how to apply them to my situation. So, sorry for asking again. We have a number of ...
-1
votes
3answers
136 views

AIX openSSH allow anyuser any IP (default) but restrict a particular user to an IP

Can't seem to come up with the correct Match for this one sshd should allow anyone from anywhere i.e. the usual/default config, but I want to restrict a user to a IP For example bob should only be ...
0
votes
1answer
13 views

Choosing the post-build server based on variable value

I have two server as a target machines: dev and production. They're both connected to the Jenkins by "Publish over SSH" plugin. And now I want to choose which one is being used for a target. But in ...
1
vote
1answer
25 views

Change openssh default PATH

I am trying to execute a command from ssh directly and I need to change the PATH of the directories. > ssh myserver 'echo $PATH' myuser@myserver's password: /usr/local/bin:/bin:/usr/bin I am ...
2
votes
1answer
239 views

What could cause *every* command in RHEL to be executed by root?

Recently I was asked to look at a system for a "friend" that left me completely stumped. Their original problem stated to me: They have a RHEL 5.10, gnome desktop fairly typical install They are ...
1
vote
1answer
24 views

bad ownership or modes for chroot directory component

I created the user MY_USER. Set his home dir to /var/www/RESTRICTED_DIR, which is the path he should be restricted to. Then I edited sshd_config and set: Match user MY_USER ChrootDirectory ...
0
votes
0answers
14 views

Command to add permissions to user under ESXi 4.1 via console

So I don't have to give them the password for the root account, wich is shared with other services, I need to add administrator rules to another user in several (30+) ESXi 4.1.0 servers. Creating the ...
0
votes
0answers
23 views

SSH Local forwarding thru multiple hosts [duplicate]

If I want to use local forwarding to tunnel thru host1 to host2, it's as easy as saying: ssh -L 2222:host2.com:22 host1.com But, suppose I want to tunnel thru host1, to host2, and then to host3? ...
2
votes
1answer
32 views

fail2ban with PermitRootLogin without-password?

I tried to choose a title that cover the topic: Why should I use fail2ban (or similar programs) if I've my PermitRootLogin set to without-password? A very trusted and experienced sysadmin that I ...
12
votes
4answers
752 views

Publishing id_rsa.pub for easier setup of new environments?

To make setting up passwordless SSH easier on new machines and environments, is there any reason why the id_rsa.pub file (just the public half of the key pair) could not be published somewhere on the ...
1
vote
0answers
24 views

Passwordless public key is not working

this is my fist help ask here despite being a daily reader in order to learn. I am working on a Unix environment (both Solaris and Aix servers) and my public key suddenly stopped working after ...
0
votes
0answers
20 views

SSH Tunnel, id_rsa seems to fail

I'm creating a SSH tunnel that tunnels thru 3 hosts, first to a host1, then to a jump server, then to host2. I create the tunnel like this: ssh -t -A -l myusername host1.com -L 2222:localhost:2222 ...
1
vote
0answers
19 views

LXC and proxying port 22 (ssh)

I have installed LXC on my Ubuntu 12.04 server and have created a couple of containers. I have only 1 external IP address, thus I am using nginx on my host machine to proxy HTTP requests from certain ...
8
votes
3answers
428 views

Quickly SSH into another box over SSH [duplicate]

I need to upload and compile stuff on a remote machine that is only reachable inside a specific network that I can access over SSH. So for example I perform the following steps: me@mymachine$ ssh ...
-1
votes
1answer
37 views

Is it possible to have multiple users on FreeDOS? For remote terminal use

Is there a way to support multiple users on FreeDos? I'm asking because I have an old application in clipper that runs on MS-DOS and I'd like to make it available over my LAN so that users could ...
0
votes
0answers
29 views

How to solve problematic cpu load due to encryption when using SFTP on a VM

my company is trying offer a sftp service for a big amount of customers. The serving machine will be on a VM and tests have shown that, with an increasing amount of simultaneous users, the cpu becomes ...
-1
votes
1answer
38 views

establish passwordless login without asking the user [duplicate]

On Linux when using dsa keys I establish passwordless login with the command ssh-copy-id -i .ssh/id_dsa.pub user@target.host This prompts the user for user's password on target.host. My script ...
-1
votes
1answer
56 views

How to add Public IP to Cent OS [closed]

I am trying to configure a Public(Static) IP in Cent OS 6.4. For this, I made a copy of eth0(added local IP, so that I can connect the system to Internet) and named it to eth0:0(added Public IP, so ...
0
votes
1answer
39 views

Linux Active Directory Authentication without domain name?

Is there a way of authentication Linux users to Windows Active Directory without using the server domain name. Currently the syntax that I use to log in is this ssh Domain\user@ipaddress all I want ...
2
votes
1answer
41 views

sshd not responding to port forwarded connection request

I'm setting up port forwarding on a SonicWall NSA 220 router, for port 22. It appears that the router is forwarding TCP packets as it should. However, Wireshark running on the server shows that my ...
2
votes
2answers
148 views

SSH issues: Read from socket failed: Connection reset by peer

I compiled OpenSSH_6.6p1 on one of our server. I am able login via SSH to the upgraded server. But I am not able to connect to other servers running OpenSSH_6.6p1 or OpenSSH_5.8 from this. While ...
0
votes
0answers
18 views

Automatically reconnect ssh session for tailing remote file

I need a solution that basically tails a log file from a remote box... Works on Mac Restores itself whenever I have internet. (I frequently close and open the lid of my macbook) It could be a ...
4
votes
1answer
45 views

SSH How do I ignore IdentityFile not found errors?

I currently have this in my .ssh/config file: Host * AskPassGUI no IdentityFile ~/.ssh/%r@%h IdentityFile ~/.ssh/%h IdentityFile ~/.ssh/id_dsa When I ssh into a host that I don't have a key file ...
-1
votes
1answer
25 views

Force ssh to ignore id_rsa permissions

I have a very specific requirement that requires a private key to be used by multiple users. I know how bad this is. The problem is that if the identity file's permission is to permissive (444 in my ...
0
votes
1answer
88 views

How to free the (unused) memory?

Being a newbie in working with amazon ec2, I am trying to make my application work. I've connecting a few times by ssh, I've been running and stopping the server, sometimes the connection was lost, ...
0
votes
0answers
34 views

sshd installation broken. Repair with only file system access

I broke the sshd installation on a remote host and now ssh doesn't startup. I can mount the file system on the host through a rescue system. The rescue system is debian based and the host system is ...
1
vote
2answers
48 views

Is the SSH SFTP subsystem required on the managed nodes for Ansible to work?

When I run: ansible all -a "/bin/echo hello" -u myuser I get back: mydomain.myhost.com | FAILED => failed to open a SFTP connection (Channel closed.) The SFTP subsystem is disabled on the ...
1
vote
1answer
35 views

Bash script for updating multiple servers not accepting RSA keys

In my environment I manage about 10 Linux servers that require regular package updates. I have a script written to connect to each individually and run the update. Additionally, I have RSA keys ...
0
votes
3answers
55 views

Add an additional check (bash script) to the sshd server

Is it possible to run an additional script during the login process of the sshd daemon/server? I would like to run an additional command that uses the IP address and the username of the attempt. If ...
1
vote
0answers
58 views

ssh fails through http proxy with corkscrew

I'm trying to SSH to a remote server through an HTTP proxy using corkscrew and the following stanza in ~/.ssh/config: Host target ProxyCommand corkscrew proxy 80 remote.host.ip 443 ~/.ssh/proxyauth ...
0
votes
2answers
43 views

HTTPS SSH Tunnel

Ok so I have a web server, lets call it Server A, which is providing a service via HTTPS. And I have an SSH gateway server, lets call it Server B. Due to firewall rules I cannot access Server A's web ...
0
votes
1answer
28 views

nginx and apache2 conflict - 403 Forbidden

I am running nginx on my server, and by mistake I stared apache2 on the server. After doing that I have a 403 Forbidden error on my home page. I killed apache2 process, but I still facing the same ...
0
votes
2answers
58 views

Amazon EC2 instance SSH RSA Fingerprint

Any time I stand up a VM in EC2 and you ssh into it for the first time, I always get this message: The authenticity of host 'ec2-xxxxxx.compute-1.amazonaws.com (n.n.n.n)' can't be established. RSA ...
1
vote
0answers
29 views

Identify mystery output on ssh login

How can I find where this dbus-launch error output is coming from? At first I thought it was related to motd but I currently have that disabled. X11Forwarding is turned off in my sshd_config as well ...
0
votes
0answers
16 views

ssh-add is required before each git push

Before I can git push / pull or capistrano deploy (using agent_forward => true) I have to run ssh-add command. If I try without this I get a publickey failure. Does anyone know why ssh-add is not ...
3
votes
1answer
15 views

Transfer SSH private and public keys after reinstall

I need to reinstall my system (debian) but I wonder if I could backup my pub and priv keys and then set them up on the new system. Too many servers already have my pub key and I do not want to change ...
0
votes
1answer
46 views

SSH painfully slow on my local network?

I have a CentOS 6-x64 Server running through VirtualBox on Windows Server 2012R2, but whenever I SSH into it, it's painfully slow. This happens for both Putty on Windows, and SSH on OS X. I've read ...
1
vote
1answer
68 views

Fix slow SSH login due to reverse lookup without disabling UseDNS

Whenever I try to connect to my server from Azure VM it takes a lot of time due to failing reverse DNS lookup. I can disable lookups with UseDNS no and completely bypass the problem but this makes ...
0
votes
3answers
49 views

can't force ssh to use a particular key

I have tried to specify the key to be used but for some reason ssh still uses a different key as see below $ cat ~/.ssh/config Host BitBucket HostName ...
-1
votes
1answer
29 views

How to access a file or directory from another server without copying it over? [closed]

Sorry if this is a dumb question. I have my reasons for wanting to do this. I am looking for a way to possibly access directories that are dependencies without actually having to copy them to my ...