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

learn more… | top users | synonyms (2)

0
votes
1answer
32 views

ssh ProxyCommand and ControlPath to two different hosts with same ip address behind different proxies

The problem: ssh config with ControlPath set to ~/.ssh/master-%r@%h:%p A third party tool which invokes ssh with a ProxyCommand ssh <proxyhost> --pty=false nc -q0 %h %p The problem is that ...
0
votes
1answer
50 views

Accessing server with its own public key

I am using ssh2_connect() in PHP to move files from one server to another. However for the time being there are not two servers and I am just connecting the server to itself. This is setup so that ...
0
votes
0answers
17 views

GO / Golang - Multicast with SSH [migrated]

I've successfully connected to a network using the "code.google.com/p/go.crypto/ssh api. The problem: I have to read from a multicast server which is running on a computer on this network. The ...
0
votes
2answers
63 views

Knife can't ssh into newly instantiated EC2 server

I just set up a new Chef environment as I'm currently expanding my knowledge of Chef. I have a Key Pair set up on EC2, I have my Knife configuration set up. When I attempt to spawn a server, the node ...
0
votes
1answer
42 views

Importing available module into PowerShell v2.0 results in error

I'm trying to import a PowerShell module to do some SSH work. I've unlocked all of the files I'm trying to import in the module. The module itself is located in a directory where modules are to be ...
0
votes
2answers
24 views

Is there a way to copy over the ssh passwordless authentication to a new RHEL linux server w/o being prompted on the initial login? [duplicate]

We will be migrating to a new server and copying all our accounts over to it. The issue we are encountering is now: There is a large number of ssh accounts and they require us typing yes on the ...
0
votes
2answers
55 views

how to use authconfig for ssh through LDAP connection

I'm newbies on Centos7. The ssh connection is working for all user which is the /etc/passwd. That's meaning I can connect to my server with this kind of users I added The other users which are ...
1
vote
0answers
30 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
68 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
39 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
57 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
120 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
49 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
149 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
45 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
288 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
44 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
40 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 ...
3
votes
2answers
71 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
42 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
29 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
24 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
103 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
33 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
46 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
76 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
127 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
50 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
41 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
46 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
56 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
88 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
50 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
74 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
27 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
36 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
181 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
44 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
39 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: ...