Tagged Questions

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

learn more… | top users | synonyms (2)

1
vote
0answers
26 views

GSSAPITrustDns option missing from OpenSSH-6.7

I need to use the GSSAPITrustDns option to connect to a round robin service using Kerberos authentication. This works correctly using OpenSSH 5.3 and 6.6.1p1 on a selection of machines. I have an Arch ...
0
votes
0answers
22 views

Encrypted home mount for single session on Ubuntu?

I currently have Ubuntu 12.04 as my remote server and I have a purpose of keeping my important files on that server under encrypted home folder. I did this and it works; I send my files to the server ...
0
votes
1answer
63 views

SSH On Another Port Debian 7.7

I cannot seem to SSH into my server on another Port. I have an identical setup on another server, but I am baffled now if my issue is with IPTables or something else. Does anyone see what I am doing ...
0
votes
1answer
30 views

Unable to ssh to GCE Permission denied (publickey)

I created a VM via bitnami in Google Compute Engine. Previously I was able to ssh via the bitnami web interface. I tried to ssh via terminal on my Mac but kept getting the Permission denied ...
1
vote
2answers
54 views

Check if a path exceeds maximum for Unix domain socket

Operating systems limit the length of a path of a Unix domain socket. How can I check whether a particular path is within that limit? Or, to put it another way, how can I check the maximum permitted ...
1
vote
1answer
20 views

ec2 instance timed out

So I was ssh'd into my running instance while trying to set up Postfix for mailing.. I was fallowing this tutorial: http://flurdy.com/docs/postfix/#ec2. I got to the Shorewall part and fallowed all ...
4
votes
4answers
106 views

SSH public key login fails without pattern

(previously posted at stackoverflow by error) I'm running a bunch of servers with Ubuntu 14.04.1 (sun,hyperion,...) all of which use public keys (OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 on all ...
0
votes
0answers
46 views

rsync termiates after a while unexpectedly

I run a rsync command with nohup in ssh session, but after a while it returns this error: rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(549) [generator=3.0.9] rsync error: ...
2
votes
2answers
147 views

Run local command after ssh session ends

I have some HP switches that I log into via ssh. The switches send a terminal command to disable line wrap ("rmam" in terminfo parlance), but then fail to reenable it, which screws up my terminal ...
1
vote
1answer
44 views

What is the best way to distribute a rsa ssh key over a large amount of servers?

I know one way, running on a list of server like so: for server in $(cat server.list); do ssh-copy-id user@host done But I was wondering if there's a better way to do it? something automatic which ...
1
vote
2answers
273 views

Centos: rsyslog blocks sshd and also local login if selinux is active

I have a very curious problem on an centos 6.5(now 6.6) machine. After an update between june 11th and october 21th the trouble begins (packages: http://pastebin.com/gXvaycLL). After a restart in ...
-1
votes
2answers
42 views

Make hidden folders invisible sftp [closed]

My client needed sftp server for sharing files, so I created sftp server on a amazon ec2 ubuntu machine and added different users. Now their need is when user login to sftp server either via winscp ...
-1
votes
1answer
39 views

Detect faulty drive in RAID 10 array

I've been told that I can only verify my HW RAID array is working perfectly with KVM. However, I want to be automatically notified when there is a problem by my server. Is there a way via SSH (that ...
2
votes
2answers
66 views

Improving speed of large file transfer over high latency link

So, I've recently had the need to pull a large file over the internet from one of our offices overseas. Both offices have 50Mbit fibre links in both directions, but the round-trip-time is horrendous ...
0
votes
0answers
30 views

Intermittent SSH problems with a specific server from a specific Wifi router

I've been ssh'ing into a specific server from my home office via Wifi and Time Warner Cable internet for years with no problem. In recent months, I started having problems, where I'd be unable to ...
-1
votes
2answers
40 views

Copy the rsa keys from one machine to another

Someone asked me to provide my public id_rsa key to make be able to connect to their server via ssh. I did so and it's working fine. I want to do that from my another laptop as well without having to ...
0
votes
0answers
25 views

How to config PORT KNOCKING on CSF and access it by linux?

I'm trying to run port knocking work on a CSF on a small VPS, i setup this: 1 - the result of csf first test ok 2 - TCP_IN = "53,80" TCP_OUT = "53,80,113,443" UDP_IN = "53" UDP_OUT = "53,113,123" ...
0
votes
1answer
21 views

Dynamic port forwarding reports connection failed and timeout

I'm running a benchmark based on selenium to send requests to an application server. Since the application server is deployed on a private cloud, I'm not able to connect to the server from the ...
0
votes
0answers
88 views

SSH : “Connection closed by” (debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY)

when I try to connect a specific server via ssh I get : Connection closed by 10.5.8.1 (more detail after) I saw much error similar to mine, but the workaround that seems works with other, don't work ...
0
votes
1answer
23 views

How to change the 'default shell' in Bitvise WinSSHD server

Hi I have been using WinSSHD and it works pretty good. How can I change the default shell from 'cmd.exe' -> 'powershell.exe' I played around the settings and couldn't find how. Highly appreciate ...
-1
votes
0answers
79 views

Warning: Connection timeout. Trying to ssh into a vagrant box [migrated]

I used https://puphpet.com/ to develop a machine, its VagrantFile is http://codepad.org/lSV7EDrC Now after doing vagrant up the machine builds fine, but on vagrant ssh I get this: default: SSH ...
-2
votes
2answers
31 views

Using X11 apps on VPS server, feasible in terms of resources? [closed]

I wanted to run an idea by the experts here. I have a VPS (Debian 7.7, 1GB RAM), which is purely a web server (hosts some important stuff), no desktop installed. But there are some graphical tools I ...
1
vote
1answer
26 views

Server establishing authenticity again

The first time I tried to connect to my server through SSH, I received this message: The authenticity of host 'hostname' can't be established. RSA key fingerprint is <finger print> Are you sure ...
0
votes
1answer
45 views

Exit in ssh log me out instead of disconnecting

When I login to a remote machine via ssh, I have to enter a password first and then login to the OS itself by entering another pair of login and a password. When I'm doing I type exist. However, it ...
0
votes
1answer
24 views

Script to copy auth keys to remote servers needs password four times

I work on multiple servers through ssh. I have automated the copying of ssh auth keys with the script below. The only problem is it asks for the remote servers password 4 times. How can I change ...
1
vote
5answers
72 views

How secure is SSH ForceCommand on a jump host?

I have the following setup in my network: Internet <--> Bastion <--> Local Network I have several users and each user is assigned to a specific machine. Or in other words: Each user ...
0
votes
2answers
122 views

When the OpenVPN client is on, remote ssh access don't works [closed]

I'm a new user forum and I'm doing my first VPN setup. I have purchased a VPN service with PrivateInternetAccess. I'm setting up a Linux VM (CentOS 6.5 server) on a VMware ESXi remote host. It's ...
5
votes
1answer
295 views

One Unix account for several users on GitHub, how does it work?

When we create a repository on GitHub, we can always access it with the address "git@github.com:user/repo" but how does it work behind the scene? ...I mean, there is only one Unix account: "git" ...
-1
votes
1answer
47 views

openssh chroot terminates ssh connection [closed]

I have a Debian Wheezy server where i would like to chroot certain users when they log in via the openssh server. I am getting an odd error however: For test purposes i have simply added ...
0
votes
1answer
38 views

How can I prevent myself from being automatically logged out of a cisco nexus switch because of inactivity

Is there a way where I can prevent myself from being logged out of a cisco nexus switch/router (or any other cisco device) after a period of inactivity? I get this message after being kicked off: ...
1
vote
2answers
43 views

ssh connection failed via php

ssh connection failed via php Trying to connect to ssh using a php script via a webserver. I work on a MacOsX. I changed apache's User and Group (_www:_www) to my own User and Group (). The command I ...
1
vote
2answers
53 views

Safety of sshpass and SFTP to dynamic host

I have a server with dedicated IP address A and a server with dynamic IP address B (routing via no-ip.org). A uploads a backup to B via sshpass: export SSHPASS=*** sshpass -e sftp **@** << ! ...
13
votes
2answers
1k views

Linux ssh: allow public-key authentication without giving user read rights to private key

Users logged in on my Linux server should be able to ssh to a specific remote machine with a default account. The authentication on the remote machine uses public key, so on the server the ...
2
votes
1answer
86 views

does OPENSSH SFTP server uses umask or preserve client side permissions after put command (chrooted environment)?

I know this question has been already discussed, but by reading the posts I could not figure the answers, because some said "yes umask can work", and others say "openssh put command always preserve ...
0
votes
1answer
46 views

libnss-ldap getent passwd - AD replies correctly but output shows local /etc/passwd

I am trying to configure libnss-ldap to provide AD authentication to my Linux Debian servers. This is working fine if user exists locally, I want to make it work for Domain users. Here is my ...
1
vote
2answers
68 views

Add remote host to known_hosts file without prompt [duplicate]

I wrote some scripts and wish to add a remote host to my known_hosts file without any interaction. I can run a command like ssh -o "StrictHostKeyChecking no" root@10.x.x.x which will add the remote ...
2
votes
1answer
26 views

Auto accept rsa key fingerprint from command line

I've tried yes | ssh root@10.x.x.x to try to accept the RSA key fingerprint, but am still prompted if I'm sure I want to connect. Is there a way to make this automatic?
0
votes
0answers
34 views

execute local command using ProxyCommand ssh

I am trying to execute local command using ssh and ProxyCommand in sys config but getting an error cat ssh_config Host ameyj-c Hostname x ProxyCommand bash -s "/home/abc/abc.sh" ssh ameyj-c ...
2
votes
1answer
170 views

Can't allow users to log in via SSH (Bash, OpenSSH, CentOS 6.5)

I am running a CentOS 6.5 machine remotely via SSH. I use RSA keys and have disabled password authentication. The problem that I am having is that whenever I add a new user and want him/her to log in ...
-3
votes
1answer
41 views

Use internet connection of server, on a client, using proxy or something [closed]

I am working around to find the best and simplest solution to this: Assume we have a windows server 2008 R2 (name this A) with 2 network card configured, one is connected to Internet and another is ...
0
votes
1answer
46 views

iptables not allowing ssh

This is my iptable configuration. But I cannot connect with ssh with these rules. What am I doing wrong? I want to block all traffic except ssh coming from x.x.x.x ip address. iptables -F iptables -X ...
0
votes
1answer
43 views

WinSSHD, GIT over SSH Team City Fetch Url - Does not appear to be a git repo

We used to work with windows network paths to connect to git, but starting to use team city we want to use SSH. I'm having trouble testing a connection to a git repo on a server here at 192.168.X.XXX ...
0
votes
1answer
38 views

Google Authenticator - generate new set of emergency codes

I use Google Authenticator on my SSH servers with Andoid app for generating codes. After I run $ google-authenticator application create set of emergyncy keys: ...
0
votes
1answer
39 views

ssh connection issue with aws ecs

Its been 3 hours that I try to make this work. I found a lot of similar question on serverfault but any answer seem to solve my issue? There is the ssh debug: jfnault@jfnault-FX6840:~$ ssh -v ...
0
votes
0answers
45 views

Xserve running Mac OS X 10.6.8 has HTTP, SSH & ARD/VNC ports open, yet cannot connect?

The subject says it all. A client I have has a relatively ancient Xserve (2009 model I believe) that is running Mac OS X 10.6.8 Server. We’ve been able to remote into the system without issue in the ...
2
votes
2answers
146 views

Possibility of WAN Optimization for SSH traffic

While I do understand that SSH by itself is a very low bandwidth utilizing protocol, it is sometimes choking up bandwidth during peak hours in our office environment. I want to know if at all it is ...
0
votes
1answer
69 views

SSH works with Putty and ubuntu but not with Git Bash

I have set up an SSH server on a Windows Server 2012 r2 with cygwin. I can successfully connect to the server with ssh using Putty on my windows pc or using Ubuntu. However, when I try to connect to ...
0
votes
1answer
34 views

Looking for a central console management software that utilitizes my RDP credentials for access [closed]

All our managed Windows Server 03+ machines are enabled for and connect fine via RDP. However, I would like a less heavy central management (command line based?) to mass manage and maintain the ...
0
votes
1answer
27 views

SSH Tunneling and LAMP at same time

I am tunneling Firefox through SSH to a remote server using: ssh -D 9999 -C usr@remotehost.com This binds 9999 port on localhost. I set this up in Firefox proxy settings using Socks5. It works ...
0
votes
1answer
60 views

Chrooted user can't login with SSH

I created a new user with no shell access like this: useradd -g www -d /www/user01 -p ****** -s /sbin/nologin user01 Then in my sshd_config I add those lines: AllowUsers user01 user02 manager ...