Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.

learn more… | top users | synonyms

0
votes
1answer
91 views

ssh: connect to host * port 22: Connection timed out

I have CentOS 7 running on a VPS machine and after a computer restart, I could no longer SSH to it. $ ssh -v <IP> OpenSSH_6.6.1, OpenSSL 1.0.1e 11 Feb 2013 debug1: Reading configuration data ...
0
votes
1answer
55 views

Seting up vnc on mac through RPI ssh

I'm currently away from home, and I would like to access my iMac which is turned on in my place. I set up the mac screen sharing before I leave, but something went wrong, and I can't access it from my ...
0
votes
0answers
49 views

ssh: login in LAN works, WAN using ngrokh fails

Over the LAN I can ssh from my laptop to my RPi without any problems using my public key. The debug output from ssh in the successfull case: debug1: Authentications that can continue: publickey ...
1
vote
3answers
187 views

Connect to a blocked server

I have a hired server that doesn’t allow me to access to a URL. Can I access to that URL from the server using my home computer as bridge with SSH tunnel? In the server I only have command line ...
0
votes
1answer
33 views

How to configure WinSCP with SSH proxy

I'm trying to configure WinSCP for use with a proxy so that I can Login to my site (I'm trapped behind a corporate firewall). I'm trying to follow the directions of ...
0
votes
1answer
22 views

Showing the output of a named pipe from VirtualBox

I created a named pipe in VirtualBox, and I found some pages explaining how to read it's output using Putty, but I don't want to use that. Since Putty is just a frontend to ssh (right?), I would ...
0
votes
1answer
29 views

Putty: remote server from outer

In my company's LAN, we use Putty to remote our server(Linux). This worked very well. Now we have some outer employees, who need to remote the server from outer such as their homes etc. For now, I ...
0
votes
1answer
55 views

Using reverse SSH to connect two clients over one server

I’m trying to set up multiple client PCs that are behind a firewall with dynamic IP addresses to have an SSH connection available for another PC. My theory is to set up a server with a publicly ...
0
votes
1answer
35 views

Lost username on a Debian box

The situation is like this: I logged in to my Debian box through SSH and just found it showing the message that there is no username for the current account. I tried to use whoami to see if the ...
0
votes
1answer
30 views

scp sometimes adds a '-f' flag to my command

When using SCP to copy from a remote host to local (eg: scp -v foo-host:/source/path dest ) I look at the verbose output and notice this is the command sent over SSH: debug1: Sending command: scp -v ...
0
votes
1answer
38 views

How to run a script on ssh login and run another script after the first terminates?

I'm trying to run a script/shell just after I login via ssh to my host with a "guestUser" the mission of this user is to connect to another remote host via ssh, I've created this user on my host: ...
0
votes
0answers
23 views

Mac Host access -> Putty Connection to unix

I'm trying to access in my Mac Host Web Browser to a putty SSH connection to a Linux Server that I have made and that required a tunnel. I can ping from my Mac Host to the Windows Virtual Machine but ...
0
votes
0answers
26 views

Forcing server to server copy to use LAN and not WIFI and “Smart” SSH GUI utility?

I have a simple LAN setup consisting of 4 macs with the included ssh servers turned on (all on Mavericks/Yosemite) I regularly sort and move files between the ssh servers. I'm looking for a tool that ...
0
votes
1answer
79 views

What is the difference between SSHing to a local machine over the Internet vs over local network?

I can SSH into a machine on the local network in two ways: Via local ip: ssh 192.168.1.xxx Over the Internet using port forwarding: ssh -p xxx mydomain.com What are the differences? In ...
1
vote
0answers
83 views

CoreOS on VirtualBox only works with one adapter at a time

I'm trying to learn more about CoreOS. (I'm not using Vagrant, just plain-old VirtualBox.) So I created a disk using coreos-install. Unfortunately, I can't find my original cloud-config.yaml file, but ...
0
votes
2answers
30 views

Connect to database server inside a tunnel inside a router

I'm using Ubuntu and trying to connect to a database server wich is accessed by a tunnel in my server wich is inside a router and I only have ssh connection to my server. Is there a way to do that? ...
1
vote
2answers
60 views

Automating an ssh connection with crontab

I've been struggling to crontab automate a git push process with ssh, and it's proving tricky to setup a key with the ssh agent. Starting with a basic script to test the agent: # set paths (all ...
2
votes
1answer
86 views

ssh -o PreferredAuthentications: What's the difference between “password” and “keyboard-interactive”?

Both PreferredAuthentications=password and PreferredAuthentications=keyboard-interactive would prompt for the password, so what's the difference between them? I Google'd with the keywords ssh ...
0
votes
1answer
56 views

Unable to SSH to internal IP

Read a few related questions here and here. The situation is as follows: assume that I have a computer A and computer B. I am able to ssh to both computers when by setting Port Trigger and Single ...
0
votes
0answers
36 views

SSH remote chroot without root

I have a dual boot system consisting of two Debian OSes. I've installed one of them in a root of the partition and installed the other Debian using debootstrap; the installation partition is called ...
0
votes
1answer
52 views

Start PuTTy session in remote host over network

I have 5 hosts - A, B, C, D and E. A and B are windows hosts. C, D and E are Linux machines running ssh server on port 22. I've copied plink.exe (putty command line backend client) in host B. When I ...
0
votes
0answers
9 views

How do I pass a private SSH key to a Windows service?

I have a service under Windows which eventually uses SSH (jenkins which eventually tries to pull from a Git repo). If I run Git on the command line, everything works since I've loaded my private key ...
0
votes
0answers
33 views

Unable to git fetch - Connection reset by peer

I have a PHP script handling the automatic deploy to my pre-production server, using Bitbucket's hooks. The deploy script is based on this post. Everything was working fine until this Sunday. Since ...
0
votes
0answers
21 views

Using ssh agent to sign a string

I am trying to learn more about asymmetric keys. I am writing a program that uses ssh-agent server to sign a message. This works well, but it generates a RSA-SHA1 signature of the message, which I am ...
1
vote
1answer
115 views

Remote SSH Commands - bash bind warning: line editing not enabled

I am using bash 4.3.11(1) and have the following history plugin installed (via .bash_it): # enter a few characters and press UpArrow/DownArrow # to search backwards/forwards through the history bind ...
0
votes
1answer
13 views

Dozens of ssh-agents listed under top

I noticed this morning that our server was running slow so I ran a Top command sorted by mem and found a few apache instances running nothing out of the ordinary but I noticed several pages worth of ...
0
votes
1answer
26 views

SSH shared private key: A@box1 & B@box2 connecting to A@box3. SSH Key without passphrase works, with it doesn't. Why?

I have an question about SSH key with vs without a passphrase. I am able to do as follows without a passphrase, but not with: User A@box1 and User B@box2 both share the same private key. Both try to ...
0
votes
0answers
39 views

Tunnel PuTTY through PuTTY proxy

I have a seedbox that I'm also currently using as a proxy to bypass georestrictions on websites. I also wish to be able to open an SSH session to this server from my workplace, but the firewall ...
1
vote
0answers
41 views

System-wide DNS lookups over SSH tunnel

IT has the lab locked down so I cant do apt-get updates or install any packages on the Ubuntu machine. We have a Windows RDP desktop that has limited internet access. I have an SSH server running on ...
1
vote
0answers
27 views

SSH works in Remmina but not in Terminal nor Putty

I was able to connect to my server using SSH normally using Terminal but suddenly it didn’t connect. I tried PuTTY as well and ended up with no luck. However when I tried remmina it successfully ...
0
votes
0answers
61 views

How to do a nightly Rsync from Windows Client to Ubuntu Server with Cygwin and Task Scheduler?

I do this with the OS X machines in the office but I wish to do this with the Windows PC too. On OS X, I created SSH keys and cron jobs to rsync certain folders to specific user folders on our Ubuntu ...
0
votes
1answer
61 views

Non-interactive ssh sessions don't have PATH set on some systems

I set my environment in .profile. My .profile is idempotent and .bash_profile, .bashrc, .kshrc and .zshrc all source .profile. That way I always get the same environment regardless on what ...
1
vote
0answers
9 views

1 chroot sftp user that is able to traverse all other chroot sftp users files/folders

I have a chroot environment that I have setup on CentOS 6. We have users for all of our trading partners and I would like to create an internal user for another department that can sftp in and only ...
2
votes
0answers
68 views

Password required when trying to ssh into a server using Cygwin on Windows 7

I'm trying to set up a server at our company, and one of the things I'd like to be able to do is host public Git repositories on it which I can access over ssh. Both the server and the workstation I'm ...
1
vote
2answers
79 views

Remote backup via SSH

I have two computers, my local and remote. I want to backup remote server with tar command via ssh but saving tar file on local computer. Is it possible?
2
votes
1answer
41 views

How to tell Git to use a different SSH config file?

I want to specify a lot of options for SSH when Git uses it. We're using ISPConfig, which sets the owner of the web users' home directory to root, which causes a lot of trouble, including that I can't ...
0
votes
0answers
35 views

CentOS 7 will not allow SSH local tunneling for port 80

I am trying to tunnel the remote port 80 of my CentOS 7 Server to my local PC through putty. Nevertheless, I seem to be unable due to security restrictions. Is there a way to loosen them and to allow ...
0
votes
1answer
38 views

No /etc/motd/ ubuntu. Where is it?

I was trying to edit the motd when I ssh into my Ubtunu computer, but can't /etc/motd anywhere on my system. kiancross@whb:/$ cd /etc/motd -bash: cd: /etc/motd: No such file or directory This is ...
0
votes
1answer
32 views

custom message ssh “ssh_exchange_identification: Connection closed by remote host”

Usually I am blocking hosts with /etc/hosts.deny. When restricted host trying to connect to the sshserver user gets following message "ssh_exchange_identification: Connection closed by remote host" ...
0
votes
0answers
23 views

clonezilla works for ssh server but not samba server

currently using clonezilla live and i can successfully backup and restore an entire image using the ssh server option. i specify my user name and also my password and saves the image on my ssh server, ...
0
votes
2answers
41 views

Periodically send dynamic public IP to web server to allow remote SSH access

I have a home where the ISP does not allow static IPs for hosts. I have a computer (that I will call A from now on) in that home that has a SSH server running on it and I would like to connect to it ...
0
votes
0answers
9 views

ssh from RHEL-6 to Winxp

I seem to be unable to connect with ssh from RHEL-6 to WinXP. When running ssh -p 22 administrator@winxp it gives this error ssh: Could not resolve hostname winxp: Name or service not known ...
0
votes
1answer
10 views

logs are showing a succesful handshake but not connecting

I am using putty on windows to connect to an external ubuntu box: putty.exe mylogin@somewhere.com -pw mypassword The logs from pfsense are showing that it allowed this traffic to pass; however, I ...
0
votes
1answer
34 views

linux ssh key copy from already created by a server Permissions 0644 for '/root/.ssh/loadbalancer' are too open

I have to copy the whole ssh folder from one server to another to avoid to copy the ssh keys to other server but I'm getting this error. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ ...
0
votes
1answer
267 views

How to use VLC to watch a file (while it is being modified) on a SSH server (using sftp or smth else)?

I'm using my ssh server to record videos and I'd like to be able to watch them (on a PC using Windows 7 or 8) during the recording. I can of course transfer the file when I'm done and watch it, but I ...
1
vote
1answer
31 views

Pushing out hosts to /etc/hosts ubuntu

I'm trying to setup an application which requires entries into /etc/hosts for all servers in the cluster. I'm trying to figure out an easy way to push all hosts to all /etc/hosts files on each server. ...
1
vote
0answers
47 views

ssh-agent installed with git 1.9.5 faults

I am getting a fault when running ssh-agent from windows 7. I think it could be a permission issue, though UAC is off. ssh-agent.exe SSH_AUTH_SOCK=/tmp/ssh-vDq8tk2Qlatv/agent.10256; export ...
5
votes
2answers
105 views

ssh without using the user's default shell

There was a vote to close this as "unclear what you're asking". Apparently being thorough isn't a good thing, so I'll be terse: When you SSH to a remote host: is it possible to execute a program ...
0
votes
1answer
112 views

Are many sshd/root processes listed by ps, brute force SSH hack attempt?

When doing a ps -efH I see lots of the following, where 14:24 is basically the current system time. These processes keep popping up every minute. root 6851 1 0 14:24 ? 00:00:00 ...
0
votes
1answer
4 views

Need to prevent ssh remote server redirect to local file

Our sysadmin wants to move off of Linux because of this redirect, any way to prevent it - via some type of SSH config option, firewall rules etc? ssh myuser 192.168.2.100 'cat confidential.txt' > ...