Tagged Questions

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

learn more… | top users | synonyms (2)

0
votes
1answer
15 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
0answers
13 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 ...
0
votes
1answer
12 views

Make hidden folders invisible sftp

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 ...
-2
votes
1answer
19 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
31 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
18 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 ...
0
votes
2answers
24 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
11 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
17 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
16 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
13 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
1answer
44 views

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

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
23 views

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

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
38 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
18 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
51 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 ...
-1
votes
1answer
38 views

Randomly get “Access Denied” msg in SSH [on hold]

For the last 5 months I am randomly locked out or randomly allowed into SSH when trying to connect with PuTTy. I have never changed my user/pass. I end up some days wasting more than 5 hours trying ...
0
votes
2answers
71 views

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

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
287 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" ...
-7
votes
1answer
30 views

SSH service isn't logging anymore [closed]

I'm on Centos and i'm looking at: /var/log/secure Nothing shows up even though i connect via ssh from other windows. I checked everything i know about, but i haven't found anything yet. The last ...
-1
votes
1answer
34 views

openssh chroot terminates ssh connection [on hold]

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
30 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
25 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 ...
0
votes
0answers
31 views

ssh connection issue while connecting to the remote server [closed]

I am using jsch library to connect the remote server. But i am getting algorithm negotiation failed exception. The below is the output of the ssh. Any idea to resolve this? Connecting to x.x.x.x ...
1
vote
2answers
36 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 **@** << ! ...
10
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
42 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
0answers
12 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 ...
-2
votes
0answers
37 views

add authorized_key not working with ldap login [on hold]

I i used to login to my server with LDAP username and password. After login if i check the command, whoami -> "my_username" is displayed properly But if I check in /etc/passwd file there is no ...
1
vote
2answers
43 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 ...
0
votes
0answers
33 views

Why process wasn't killed after closing SSH connection [migrated]

I launched this command via SSH on a Debian server: watch --precise -n 1 top -b -n 1 -p 27330 | tail -n 1 | awk "{print \$9}" >> 27330.log & After a while I quit my terminal. When I ...
2
votes
1answer
10 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
20 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
115 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
36 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
43 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
25 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
28 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
27 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
24 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
107 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
31 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
30 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
18 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
57 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 ...
-1
votes
0answers
34 views

SSH is using the wrong folder on Windows 8, how can I change it? [migrated]

I've been trying for the past 2 days to setup my server with passwordless SSH key logins and I just finally figured out my problem.. I'm on Windows trying to SSH into my Centos 7 machine using id_rsa ...
0
votes
0answers
4 views

libvirt-bin error on a VM when I try to list VM [migrated]

I'm using Virtualbox 4.3.18 on my Arch Linux Host machine and libvirt-bin 1.2.9 on my Ubuntu Server Cloud guest machine. Everytime I try to follow this tutorial I receive the following error when I ...
0
votes
0answers
27 views

CentOS 6.5 Bridged Networking Fails

I have a CentOS 6.5 Server that I wish to host VPS on, as well as installing SolusVM, to do this I need to bridge the network adapters for the Server and the VM's ( so the VM's can connect to the ...
0
votes
2answers
39 views

SSH tunnel (port forwarding) slow down a lot my mysql queries

I'm currently testing some configurations with vagrant (virtual box) to connect 2 servers (VM currently) together throw an SSH tunnel. The goal being to securely connect my web app to the database. ...