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

learn more… | top users | synonyms (2)

0
votes
0answers
467 views

rsync: getcwd(): No such file or directory (2)

I want to sync Server1 and Server2's logs to LogServer. For Server1: rsync -avz -e 'ssh -p 2188' user@server1:/usr/local/servers/logs/* /usr/local/logs/ This one works, but for Server2: rsync ...
0
votes
0answers
65 views

SSH not working when called by automated script

SUMMARY: My script which includes ssh runs fine from the command line but the ssh part does not work when the script is called by an an automated daemon (apcupsd). DETAIL: I've got an ESXi server and ...
0
votes
0answers
38 views

Strange port-by-port connection on SSH git user

I'm facing very strange logs in my /var/log/auth.log. Every single second I can read one or more lines like this: Accepted publickey for git from MY_OWN_IP port 51885 ssh2: RSA ...
0
votes
0answers
26 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 ...
0
votes
0answers
75 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
120 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, ...
0
votes
0answers
29 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
51 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 ...
0
votes
0answers
74 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
31 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
101 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 ...
0
votes
0answers
38 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
28 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 ...
0
votes
0answers
44 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 ...
0
votes
0answers
34 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 ...
0
votes
0answers
45 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 ...
0
votes
0answers
17 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 ...
0
votes
0answers
88 views

Connection Refused when connecting ssh with putty on aws instance

We created an ebs volume out of a snapshot of an running instance's root volume and then attached this new volume to instance A. When ssh connecting in putty, there is error saying Connection Refused. ...
0
votes
0answers
173 views

ERROR: CVS Authentication failed: null

I have just install jenkins for the first time and setup a simple job that requires a cvs checkout and the run make. I have tried everything I could think of short of actually creating and setting up ...
0
votes
0answers
37 views

python runserver_plus crash with broken pipe after a while

my development server is hosted on google compute engine instance, I'm running the server using python runserver command and it works fine for a while then crashes with Write failed: Broken pipe all ...
0
votes
0answers
30 views

Mac OS X 10 ssh timeout to linux server port 77

My Mac is not able to connect to a remote server, the server ssh port is 77 and if I do the command: ssh -v -p77 rofer117@remoteserver.com.br OpenSSH_5.9p1, OpenSSL 0.9.8y 5 Feb 2013 debug1: Reading ...
0
votes
0answers
102 views

Mounting EncFS with PAM at SSH login with password protected key

I'm running OpenSUSE 12.3 on a VM in the cloud and have an EncFS directory set up. I can mount it manually fine. I'm trying to have the directory mounted at SSH login, ideally only for the duration ...
0
votes
0answers
41 views

How to use zssh

I'm trying to download a file from root user, which is not directly accessible from ssh. I have installed zssh on my local machine and the server. This is where I'm at: zssh user@server login as ...
0
votes
0answers
132 views

Capistrano, EC2, Permission Denied despite all user info being correct

So I'm using WP-Stack and trying to deploy from my local machine to an EC2 instance. Ive follow capistrano's SSH literature and I can for instance get the server info by just running SSH and the ...
0
votes
0answers
49 views

SSH between macs in a local environment, full control on each?

I'm attempting to use my Mac Mini as my "central server" in my local environment and then I develop on it, it runs nginx, php-fpm, etc. Everything is working fine. But I wish to do capistrano ...
0
votes
0answers
72 views

Establish an SSH Tunnel out from behind a firewall

I have a box sat behind a firewall, and when its powered on (or internet connection resumed), I want it to connect to a server, allowing me to do a reverse SSH connection back to it. I'm currently ...
0
votes
0answers
72 views

Write failed: Broken pipe even if I use ServerAliveInterval?

This is my ~/.ssh/config file - Host 10.2.1.1 ServerAliveInterval 120 ProxyCommand ssh 10.1.1.1 nc -w1 10.2.1.1 22 I've configured it so that I can bypass the jump server each time I need to ssh ...
0
votes
0answers
125 views

ssh server not accepting public/private keys (Cygwin)

I am trying to connect my computer to a ssh server (running on Windows 7) using public/private keys. I have generated the keys and used the necessary permissions for files: chmod 700 .ssh chmod 600 ...
0
votes
0answers
155 views

Capistrano SSH transfer very slow compared with scp

I am using Capistrano to deploy web applications from Amazon EC2 instances to our staging and production servers, but finding file transfer performance is very slow compared to a direct invocation of ...
0
votes
0answers
135 views

Linux TACACS+ auth for SSH but allow users to use public key auth

we have running tacacs environment for centralised login to our routers, firewalls etc and even most of our linux boxes to ssh what we would like to do is allow users to authenticate to SSH via ...
0
votes
0answers
44 views

SSH Tunnel not working, but not able to find the point of failure as it worked previously

I am having an odd issue wherein suddenly port forwarding stopped working in a particular scenario for me. By default I need a particular port forwarded on all servers I manage and so I have the ...
0
votes
0answers
610 views

PuTTY “Server unexpectedly closed network connection” error before login - CentOS 6.3 VPS

I can't seem to login to my CentOS 6.3 Server VPS, neither PuTTY nor the SerFISH Web SSH service seem to work. It started after I tried to login using X11 forwarding in PuTTY. Now even with every ...
0
votes
0answers
68 views

browse samba shares and login with ssh at the same time[Active Directory]

hello, i have a problem with krb5 and samba. when samba is running(i can browse shares with domain account) i can not login with ssh. And when samba is NOT running i can login with ssh with domain ...
0
votes
0answers
33 views

Is it possible to reconnect to a remote cmd.exe shell?

I am using freesshd.com to run an ssh server on my machine. I need to be able to execute .bat files in their normal environemt so I am using the cmd.exe shell, the only shell I know of that can ...
0
votes
0answers
38 views

How can I set path for non-interactive user authenticated using LDAP?

On a Mac running OSX 10.7.5, I need to set the PATH for non-interactive users who connect via ssh and are authenticated using LDAP. It's the same question that was asked (and answered) here: Updating ...
0
votes
0answers
77 views

Forward SOCKS proxy through 2 SSH Reverse Tunnels

I'm attempting to connect to one network's internet connection from another network, kinda a VPN but unfortunately is not possible. I can't have the ports open for any of the 2 networks for port 22 ...
0
votes
0answers
148 views

SCP and SSH do not work from PC in another subnet

I've posted this question on stackoverflow and was recommended to try this forum instead. I have Ubuntu guest running on VmWare hosted by Windows 7. I tried to scp a file from a server PC to my ...
0
votes
0answers
80 views

Why isn't my SSH tunnel working?

The SVN server at my work has been moved to a different machine. This wouldn't present a problem except that the firewall rules have not been set up properly and I'm unable to connect to the new ...
0
votes
0answers
78 views

mysqldump over ssh and mysql restore - security issue?

I've just found a one liner to mirror a local mysql database on a remote server, over ssh: mysqldump -uroot -proot zedatabase | ssh -p4551 geek@12.34.56.78 "mysql -udoom -pmySqlPassword zedatabase" ...
0
votes
0answers
44 views

SSH Connect/Disconnect hook - custom extensibility

I need to extend sshd so that i can hook some events and take some action on them. specifically: When a user connects and successfully authenticates, i need to make a database entry similarly, when ...
0
votes
0answers
61 views

Does OpenSSH server log any connection attempts?

When I logged to my VPS server I noticed an established connection on port 22. The IP address was not mine. The connection lasted about a minute and then was closed. I could not find any logs ...
0
votes
0answers
118 views

scp cannot transfer file?

This problem is i cannot transfer file from my computer to server. I use command scp -v ./1.cap ug01:/cshome/twu5/, it take about 3 mintus, but scp did nothing. Then i terminal the scp. Here is the ...
0
votes
0answers
27 views

svnserve with ssh not working

We have an svn running svnserve on a CentOS release 6.4 (Final). Recently, ssh access was possible but now when people try svn+ssh://server.com/repo it won't connect. I checked the server logs and ...
0
votes
0answers
40 views

Use PuTTy for local SOCKS Server binding?

I want to create a SOCKS server on my gateway server. PuTTY has it's -D switch which allows dynamic SOCKS proxy through the given SSH connection. Is it possible to do locally, without a SSH ...
0
votes
0answers
190 views

vagrant ssh always works, ssh using cygwin only works on some boxes

On Windows I like to use cygwin to access my Vagrant box via ssh. This works: vagrant init <an existing base box>, vagrant up, vagrant ssh. Instead of vagrant ssh I can use cygwin to ssh into ...
0
votes
0answers
74 views

How to setup anonymous access in WinSSHD

I have a Windows server (Win2008R2) with WinSSHD installed. I need to allow anonymous access to a particular folder on the server. Actually it's a git repositiory for bower registy but it doesn't ...
0
votes
0answers
59 views

Cron Jobs unable to deliver email error report

I am sure I have right syntax and I am still unable to receive report emails to my email address. My OS is CentOS 6.4. My Crontab script is MAILTO="cron@mydomain.com" * * * * * /usr/bin/php5 ...
0
votes
0answers
68 views

monitor network bandwidth via ssh

I'm running a Centos 6.4 server with cPanel. WHM (admin side panel) shows about 100GB of bandwidth this month. However, the server's RTG shows 3.4TB last 30 days, 121GB past 24 hours alone. Doesn't ...
0
votes
0answers
50 views

How to write a path with dots in sshd_config

I'm writing the default directory for a SFTP user in sshd_config, using this code: Match user ftpuser ChrootDirectory /var/www/ftp.user ForceCommand internal-sftp AllowTcpForwarding no ...
0
votes
0answers
82 views

Benefits of using Squid over SSH vs a dynamic SSH tunnel

Recently someone at my place of work set up Squid for convenience so that a bunch of us can use it if we want. Since it's not publicly accessible we'd need to SSH to the server and set up a tunnel. ...