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

1
vote
0answers
16 views

Can't get private GitHub repos to work with Vagrant/Puppet on Windows

I have a project and we use Vagrant for our development env. On Mac/Unix the provisioning works perfectly except in Windows, the problem is that forwarding agent doesn't work on windows and therefore, ...
0
votes
0answers
4 views

why do I need “-t” option with Tectia sshg3 client and pbrun command

I'm using tectia ssh client for windows (from the command line) sshg3.exe to log in and run a command to get power broker user/account: sshg3 [options...] profile | [user@] host [#port] [command] ...
0
votes
1answer
5 views

shellinabox - How can I restrict access to certain users only?

I've got a Ubuntu 14.04 machine which I've set up with shellinabox. Now I would like to restrict access to shellinabox to only a certain user account. Nobody else should be able to log in with it. ...
-2
votes
2answers
88 views

Looping and reading by line in Bash [closed]

Read a file of server names (.txt) line by line loop through each server name and connect by ssh Any suggestions, comments, and ideas?
0
votes
1answer
18 views

Debian 7.5 Prevents Access to Router, Hardware is OK

My Problem: I can't access my router from the Problem OS (Debian 7.5) of my main computer. I am sure the hardware is okay. It would be problematic to reinstall the Problem OS. Problem OS Symptoms ...
1
vote
2answers
940 views

How to connect to a local hyper-v virtual machine via SSH?

What I have: Windows 8.1 professional edition What I want? To simulate a circumstance: connect a remote Linux system using SSH. What I do: Install CentOS 6.4 x64 under the built-in Hyper-v. It works ...
0
votes
1answer
156 views

Rsyslog hangs processes

I have a quite odd problem. At random times my dovecot daemon dies and I cannot receive/send emails while the host is still up. When trying to SSH into the server to see what happened, I discover that ...
0
votes
1answer
4 views

WinSCP has to constantly reconnect to my Ubuntu Server

I am on a Window 7 machine so I am left to using a tool like WinSCP to manage my remote servers which run Ubuntu. I do use a good old command line too but for file management I generally use WinSCP, ...
0
votes
1answer
11 views

How to convert a WinSCP ppk to .CER/.PEM format acceptable by Azure Linux VM?

Googling was fruitless, as most people have a slightly different variation of this problem. I need to write some instructions on how to set up an Azure Linux VM and generate the keys using WinSCP. ...
1
vote
1answer
31 views

SSH connection not possible in local network

Today I realized a very strange thing: I have a server (running Ubuntu Server 12.04.4 LTS) in my local network whose SSH port is accessible via the internet (I can connect to it using ssh ...
0
votes
1answer
13 views

Timeout with VNC connection from windows 7 to SLES10SP4

I'm having an issue establishing a VNC connecting to a SLES10SP 4 server using PuTTY on a Windows 7 workstation. Remote Administration is enabled in YaST, as are all the other appropriate settings. ...
0
votes
1answer
29 views

How can I copy files from a Google Cloud Compute Server to my local machine

I'm trying to download all of the server files from Google Cloud Compute (running Linux Debian). I'm extremely unfamiliar with SSH and Google Cloud Compute as a whole. I'd prefer either copying all of ...
0
votes
2answers
14 views

Restrict a user to SSH authentication with a key

Is there any possibility to restrict the password based authentication to a particular user in Solaris 10? The particular user should not log in with a password. Instead he should be able to log in ...
0
votes
0answers
21 views

SSH reverse proxy

I am setting up a Gitlab server (https://about.gitlab.com/) inside a virtual machine using KVM on a Ubuntu 14.04 host. My university charges us for every external IP address, so I cannot use bridged ...
0
votes
2answers
47 views

Windows 7 and CYGWIN ssh login trouble

I have two PC's both running Windows 7 (64 bit). I installed CYGWIN (64 bit) on them today simply for the SSH functionality. (I want to use a file sync program called Unison and Unison recommends the ...
0
votes
1answer
339 views

MobaXTerm colors are washed out - how to configure the scheme

Out of the box, MobaXTerm's rendering of the Midnight Commander screen looks like this (ZOC by comaprison to the right; PuTTY looks similar): How can I fix this? Is there some environment variable ...
0
votes
3answers
2k views

SSH to server without including username in URL on Linux/Unix/Mac

I am trying to ssh into my server from the command-line without including the username in the url. I do not want it to send any username, as it currently takes the active account and sends that as ...
1
vote
0answers
45 views

Intermittent SSHD multiple personality disorder

I have a weird problem on a Debian Jessy box: when trying to SSH in, sometimes everything goes smoothly for days, and sometimes... It goes nuts. The madness PuTTY would tell me that the SSH key ...
0
votes
0answers
8 views

cron unavailable, how should I run old jobs?

My hosting company requires cron jobs to be entered one-at-a-time thought thier web interface rather than the command line. I've got about 70 jobs to transfer over from another host. Is it ...
1
vote
1answer
17 views

SSH via gateway with SSH keys on Gateway

I want to set up my company's server as a gateway to all of our client's servers. So that people I work with can simply 'proxy on through' without needing to set up SSH keys on their machine. I.e. ...
0
votes
2answers
16 views

SSH won't find private key with -i parameter

My SSH connection works fine if I do this: ssh myuser@myserver.com -i ~/.ssh/myserver However if I omit the '-i', it demands a password and I have no idea why. It seems that my SSH client is not ...
0
votes
3answers
2k views

how to run a local script in remote server using expect and bash script

I want to make a script that will connect to a server and do some CRUD operation on the server and again return to local. I do not want to upload the script to server.. I have made a script that ...
2
votes
2answers
177 views

How can I copy a folder from the Linux command line (ssh)?

Say I'm in the / folder in a remote Linux machine I connect to over ssh. There's a folder called testapp. /testapp I want to create an exact copy of this called: /testapp-staging Using a GUI I ...
4
votes
1answer
4k views

Connecting to an SSH server from Client behind an NTLM Proxy

I'm trying to get to my SSH server on the internet from a corporate network. All connections to the outside internet have to be proxied through a server that check's for the NTLM hash of each client ...
0
votes
1answer
123 views

I broke SSH by using chmod on an EC2 Instance — How do I correct?

I have been running an Amazon EC2 Instance for a while, and recently accidentally changed permissions/ownership on folders recursively. I can no longer SSH into the instance. I do not recall what the ...
1
vote
3answers
15k views

Can't connect with putty to a Linux server

I can't connect with Putty to a Linux box. In the putty log I only get 3 lines and the last line is "Server unexpectedly closed network connection". FTP and ping to the Linux box works. Putty is ...
1
vote
2answers
363 views

log into SSH server using a subdomain by adding an “A Record”

I SSH into a series of static IP addresses, but it's easy to forget which one is which. I'd like to replace the static IP addresses with a subdomain of a domain I own. I.e., 55.55.555.55 --> ...
1
vote
3answers
59 views

Is it possible to combine these two ssh commands into one?

I'm using bash on Mac 10.9.1. Right now, I execute these two commands to ultimately get to the server I want access to ssh me@intermediate and then once logged in, I execute ssh me@destination ...
1
vote
1answer
21 views

Run sed as a one-off ssh command

I would like to substitute a string with another in a file on a server of mine. I've tried doing this: ssh $REMOTE_HOST sed 's|export ${KEY}=${VAL}|export ${KEY}=${NEW_VAL}|' "$ENV_FILE" And a ...
0
votes
0answers
25 views

Disappearing Crontab, Odd Files

I have a number of Debian-based systems running on an ARM-based SBC connected to a network and they've been running for years. All of a sudden, when I log onto several devices, the cron file is ...
0
votes
0answers
20 views

Can't write files using new user on Linux Ubuntu via SSH

So I just added a user to my server, let's call it "user2", when I tried uploading a file via Filezilla while logged in to "user2" I got the error open for write: permission denied, so I assume ...
0
votes
0answers
29 views

use sock proxy in command line

I set up the sock proxy using ssh with Secrete socks successfully and I can visit the web site that is blocked previously (say youtube, Yes, I live in China). The problem is I still have issue in ...
0
votes
1answer
20 views

How to recover SSH private key pair on OpenStack

I've been using a virtual machine on OpenStack, and I lost my RSA private key. Is there anyway I can get to access this virtual machine? Of course, without using the RSA key. I was thinking about ...
2
votes
0answers
29 views

Strange behavior on SSH public key login

I'm really stuck here. I've been trying to ssh into my ec2 server from local with a public key but it is not working. -> I get permission Denied (public key). The set up is as follows: Local: ...
1
vote
3answers
17 views

SSHing into a Ubuntu VM instance

I have an Ubuntu VM instance running on my laptop. Both Host and VM run the same OS - Ubuntu 12.04. I tried to ssh from host like ssh username@<VM-IP> It tries for some time and then says ...
0
votes
0answers
11 views

Connecting to ssh server that only accepts local connections

This is the situation right now if I want to connect to my university server for using some statistical software made available. I connect my laptop to the university VPN I use putty to establish an ...
1
vote
0answers
6 views

Scroll with mouse in tmux without mouse highlighting controlled by tmux

From this question, Scroll shell output with mouse in tmux the setting setw -g mode-mouse on allows mouse scroll in tmux. This also causes mouse highlighting by click and drag to be controlled by ...
0
votes
2answers
4k views

sftp limit user to directory

I need to limit sftp for a user to a certain folder. So far I have followed this tutorial to the letter: http://shapeshed.com/chroot_sftp_users_on_ubuntu_intrepid/ It works in the sense that I can ...
1
vote
2answers
510 views

SSH key / authorized_keys management tool

We have a handful of developers and a dozen servers each with several accounts on them and manage our ssh public keys by manual ssh-copy-id. Does anyone know of a tool/script to manage ssh ...
0
votes
2answers
25 views

Creating remote user to launch one file

Here is the problem: I have made something with python that works with virtually any OS, except windows, and I have been told the people who are going to evaluate/use/try it only have windows ...
1
vote
1answer
23 views

How to keep sshd alive on MAC OSX?

How do I keep sshd alive so I can connect at any point? I'm not trying to keep an existing SSH connection alive - I can't create it in the first place. Environment: Mac running OSX 10.9.3. ...
0
votes
1answer
32 views

ssh authorized_keys permission denied only until file is listed/stat'ed - VERY STRANGE

Ubuntu 14.04LTS running openssh. I'm getting a Permission denied (public key) when I try to ssh in using my public key. /var/log/auth.log shows "Could not open authorized keys ...
5
votes
1answer
194 views

How can I delete a file that “Does not exist”

File exists on a Synology 5-Bay NAS. It appears there was an error with the file name, it contains two invalid characters as well as a few others that were changed. (I have the original file ...
0
votes
0answers
14 views

Making proxies on Debian

Hi guys I am trying to create SOCKS Proxies on my VPS and currently am not getting too far so any help is well appreciated. Here's a few details on my VPS: It is running Debian linux, has 512mb ram ...
2
votes
2answers
2k views

SSH Connection Error : No route to host

There are three machines in this scenario: Desktop A : user@1.23.x.x Laptop A : user@1.23.y.y Machine B : user@192.168.z.z All the machines have Ubuntu 11.04 (Desktop A is a 64bit one) and have ...
1
vote
2answers
2k views

Permission problems with rsync

I wanna do daily ssh synchronization of some of my local machines files with my server. I want to do this via rsync, since it sounds the most promising tool for this task to me. Sadly I get the ...
0
votes
2answers
516 views

Limiting ssh to sftp only?

I use SSH keys to allow passwordless logons to my box. I want to limit them to SFTP only. I have the following in my authorized_keys file which appears to work: command="internal-sftp" ssh-rsa ... ...
0
votes
3answers
2k views

New terminal window (duplicate session) from Putty command line?

Being on Windows and accessing Linux via Putty, is it possible to spawn new terminal (Putty) window from the command line? I.e. to send something to Linux, while responding on which, it initiate new ...
0
votes
0answers
14 views

JVM exception, server not responding, cant kill process with PID

My server did actually hang , now via ssh i cant kill the PID , or screen -x => hit 'stop' Java HotSpot(TM) 64-Bit Server VM warning: Exception java.lang.OutOfMemoryError occurred dispatching ...
1
vote
3answers
1k views

How to override SSH default identity?

Short version: how can I disable/override the default SSH identity file locations ~/.ssh/id_{rsa,dsa} and force SSH to use another one (first)? Long version: I'm trying to setup gitolite with ssh ...