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

2
votes
2answers
2k views

Can’t SSH to Ubuntu guest from Mac OS X host

Brand new Ubuntu LTS 10.04.2 install (and updated), with sshd running. I added a host-only adapter. And configured it like this: auto eth1 iface eth1 inet dhcp I can ssh from the guest to itself ...
0
votes
1answer
22 views

Is it possible to check for blips in internet using SSH tunnels?

So basically at work we're losing internet connectivity for just a few seconds at a time, which is enough to kill our SSH tunnels, kill our VoIP calls, etc. I have a cronjob set up with my own script ...
1
vote
1answer
26 views

How to forward http request to a proxy server?

I have an Internet Linux server and my client computer (running windows) accesses internet via a SSH tunnel to the the server. Now for some reason this server can only accesses internet by a http ...
0
votes
0answers
9 views

Can I use my SSH key pair instead of GPG for Thunderbird and Enigmail? [duplicate]

Is it possible to use the same key pair I use with Putty for SSH to AWS and all my other servers? I’m trying to setup Enigmail on Thunderbird right now. The guides tell me to use GPG, but I can’t ...
0
votes
1answer
23 views

LFTP: SSH with private and public keys

I'm using LFTP in order to mirror SFTP server folder with local folder. But currently I'd be glad to correctly connect to SFTP server and list contents... I'm using Windows 7, and I've downloaded ...
0
votes
1answer
116 views

Configure VM network settings to ssh into a mininet VM

I am trying to configure my VM (mininet vmdk) network settings in order to ssh into it from my host machine. I am using virtualbox as my hypervisor. Per the Mininet instructions ...
0
votes
0answers
15 views

Copying public / private keys from W8 to OS X Yosemite

Could somebody please explain how to copy both public and private keys from a windows machine to OSX? I know how to copy them over, just not sure how to properly configure them for use on OS X. ...
0
votes
1answer
122 views

emacs tramp working with gnome-keyring-daemon

Right now I have gnome-keyring-daemon set to start at login. If I run emacs -q and then open a file on a server using M-x find-file and then enter a file on a remote server such as ...
1
vote
1answer
32 views

Using scp to transfer a .txt file list of files

I have 1.6 million files on server A, and only about 20k of them need to get to server B. The destination, server B, is on GoDaddy shared hosting, so I'm just about limited to scp for transferring ...
6
votes
3answers
13k views

rsync: failed to set times on “<dir path>”

I am trying to rsync files from one server to another but getting this error rsync: failed to set times on "/dept/intranet/dept/atest/.": Operation not permitted (1) Can someone help me why so ...
0
votes
0answers
17 views

32bit and 64bit Cygwin sshd services on the same machine

I have Windows 7 station and I would like to have two running sshd services: ssh daemon for 32bit Cygwin ssh daemon for 64bit Cygwin I installed 32bit Cygwin sshd using setup script ...
0
votes
1answer
44 views

Jenkins SSH Windows node bash error

I have Jenkins server for continuous integration and I want to add another node. Node is Win 7 station which runs Bitvise SSH server. On that Win 7 station is installed Cygwin 32 AND 64 bit (for ...
1
vote
0answers
20 views

Unable to open gedit over sshx as root

I'm doing an remote login using sshx -X as root: ssh -X root@172.16.0.1 After that whatever application I open, a warning is coming like: X11 connection rejected because of wrong ...
1
vote
1answer
2k views

Tunnel all traffic through SSH?

Given Windows 7 I want to tunnel all its network traffic through SSH, without manually tunnelling each port. It's easy on Linux, but I couldn't find any hint on how to do this on Windows ): So, any ...
0
votes
1answer
34 views

SSH stopped forwarding ports

Somehow SSH stopped forwarding ports and giving me errors on the host. I can not figure out why. I tried -4 switch to force ip4 but still no luck.I am hoping that I could get much proper solution ...
-1
votes
1answer
31 views

sshd_config file configuration

# HostKey for protocol version 1 #HostKey /etc/ssh/ssh_host_key # HostKeys for protocol version 2 #HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key #HostKey ...
2
votes
2answers
1k views

Asus RT-N66U Enable SSH Access

Is the option to enable ssh access to this router not available in the stock version of the firmware? I can only see "Enable Telnet" under Administration -> System. That's kind of lame. Telnet is ...
0
votes
1answer
31 views

remote desktop for the terminal

Looking to allow a trusted friend access to an SSH session on my local machine. Is there a script or one liner that will allow for the ease of use I know from remote login software (teamviewer etc.) ...
1
vote
1answer
23 views

Add new Server to Visual Studio application via SSH

I have a RHEL Linux instance with MySQL running. I have the connectors and I'm trying to setup a new connection to the database in Visual Studio 2012. Problem is, it's on a corporate remote server and ...
1
vote
0answers
17 views

Cygwin (and Putty) special keys not working

TL;DR: Cygwin sends like 3D instead of alt+arrow and such. I've been using Cygwin for years now to ssh into my server. I'm always struggling with GNU Screen's uncomfortable window handling and a few ...
0
votes
0answers
30 views

Ubuntu disables ssh login permanently after changing sshd_config

So I have been trying to follow this guide and so far I have wasted ~5 hours launching Ubuntu 14.04 instances to try different setup every time, the issue is basically quite common but non of the ...
0
votes
1answer
35 views

How to upload local file to server through Linux terminal

I am trying to upload local files to server by using Putty or SSH but not getting upload there. Is there any direct method to upload file from local to server from Linux terminal without using FTP ...
0
votes
1answer
9 views

After Updating to SHA2, private and public doesn't match

I've upgraded to SHA2 certificate, but after upgrading the new certificate key doesn't match my old private key. Public key has changed after updating and it doesn't match to previous private key. ...
1
vote
0answers
19 views

How to run multiple servers on a Linux machine?

I have the capability to SSH into a Linux machine hosted on a server. Is there a possibility that I can install multiple servers on the same machine - say Apache and NodeJS? Is there a tool/app that I ...
0
votes
0answers
25 views

Run script on SSH login to server

I'm trying to work out how to get SSH to run a script before passing a shell to me. The reason for this is that I will be logging into shared users on many boxes and I want my own configuration when I ...
0
votes
1answer
31 views

Connect to remote VNC with only port 22 using putty

I'm trying to access my home server remotely and I only have port 22 available to me. From what I understand it's possible to tunnel into the server to be able to view VNC. So far all my efforts have ...
0
votes
1answer
22 views

SSH connectivity on Google Compute

I've noticed on Google Compute Engine that adding a ssh key allows me to connect and creates a new server account. However, I've noticed in the sshd_conf that the line in sshd_config ...
0
votes
1answer
52 views

How to check if file exists in remote Windows from local Linux script?

I'm writing a sh script to download a file from a Windows SFTP server. However, before doing so I want to check if the file exists. There were many questions out there that suggests downloading ...
0
votes
1answer
12 views

How to hide subdirectories within chrooted directory from users who don't have access

Apologies if this problem has been answered before / elsewhere. I've had a hunt around but am unable to find anything. If so please point me in the right direction. I'm running a linux ftp server ...
0
votes
0answers
23 views

How to launch Chrome's Secure Shell ssh plugin via web link

I am looking to figure out how to create a URL or link that executes a client side SSH session. I found the Chrome extension called 'Secure Shell', but the documentation is rather minimal. ...
0
votes
0answers
8 views

How to perform remote JBOSS debugging to AWS (Amazon Web Services)

Our service provider setup an environment to host our website in AWS (Amazon Web Services). The website is running on JBOSS. We enabled remote debugging in JBOSS by putting: JAVA_OPTS="$JAVA_OPTS ...
1
vote
1answer
364 views

SSH into Synology DSM 5 without password

I can ssh as root and as admin but not as a non-admin user. Here is a log of an attempt: % ssh -vvv -i ~/.ssh/diskstation-rsync-key hughdbrown@192.168.2.130 OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 ...
5
votes
1answer
4k views

ssh config under cygwin

I have Cygwin installed on Windows 7. I made default install. I would like to use ssh config file (~/.ssh/config) to set host and options for connecting. Normal ssh command is not able to find the ...
0
votes
1answer
25 views

What is the HostKey?

In my sshd_config, there is three lines for the HostKey : # HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key HostKey /etc/ssh/ssh_host_ecdsa_key ...
0
votes
1answer
14 views

Has gnome-keyring-daemon replaced ssh-agent in non-headless situations?

I am running Ubuntu 14.04.1 LTS. In the past, I would add keys to ssh-agent to bypass having to enter my passphrase with ssh. Recently after a power outage, my PC rebooted and it seems that the ...
0
votes
0answers
10 views

Is there a more secure way to cache my SSH key passphrase in memory?

I have a cluster of machines with many nodes. And instead of entering the passphrase (which are the same for all) for every machines, I want to cache the passphrase in memory using fabric. What steps ...
1
vote
1answer
13 views

SSH jump hosts error

I have trouble understanding a peculiar behavior of ssh jump hosts. I have these configurations in my ~/.ssh/config: Host bastion-server Hostname server.bastion.com ForwardAgent yes User user ...
0
votes
1answer
30 views

How to setup turnkey-mediawiki on remote linux host inside vmplayer without highjacking ssh?

I have been trying to solve this problem but have found only partial information like "use bridged mode" or "turn off the windows firewall" (for windows hosts), so I wanted to ask for specific advice ...
0
votes
0answers
34 views

Is my VPN breaking my SSH or is something else going on? [raspberry pi, NOOBs]

My goal is to set up my Raspberry Pi such that it is always connected to my VPN and can be always accessed by SSH and VNC. I use PrivateInternetAccess and Open VPN. Using this article I figured out ...
0
votes
2answers
29 views

Can't ping my own computer from my server

I've setup an AWS server, and I can ssh into it from my home computer and everything acts normally. On the server, I can ping to any external website (i.e. google, cnn, reddit), but I can't ping my ...
17
votes
4answers
56k views

How do I exit an SSH connection?

I’m connecting to a server via SSH to send a message to a socket server using a command like: ssh 181.169.1.2 -p 5566 After the connection is established and I write the message and send it I ...
1
vote
2answers
4k 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
1answer
15 views

Is it possible to copy public ssh keys from other users to a remote server when users have no access yet?

How to copy the public ssh keys from other users to to their ~/.ssh/authorized_keys on a remote server? I'm aware of the 'ssh-copy-id' command, but I assume it only work if the user has currently ...
0
votes
1answer
35 views

Automatic ssh tunnel

I am looking for an easy way to automate my ssh tunnels. Basically I want a local daemon listening a series of local ports. If one program sends traffic to that port, the daemon should start a SSH ...
0
votes
0answers
18 views

Tunneling IPv6 through IPv4 for a specific application?

Client: Supporting only IPv4 (OS: Windows 7) VPS: Supporting IPv4 and IPv6 (OS: Debian) On my client machine I run Proxifier in conjunction with PuTTY. With PuTTY I can create an SSH connection to ...
-1
votes
1answer
26 views

ssh login to remote hosted server having cpanel

I have recently bought a cpanel account from a web host re-seller. As far I know, cpanel is only the web interface to simplify the process of hosting a web site. Also, it provides command line ...
2
votes
2answers
4k views

using python Paramiko for ssh: sudo: no tty present and no askpass program specified

I want to use paramiko to ssh into a bunch a remote nodes and run some command line with root priviledge I have ssh key in my home directory and so i don't need to input password when I ssh into ...
0
votes
4answers
911 views

Delete File with SSH Access on Linux

I have a VPS. I want to delete some specific folder inside. /var/BACKUP 01 I want to delete all files in BACKUP 01 How can I do it with SSH access? I'm using linux,please type a command here.
0
votes
1answer
12 views

Pass SSH Escape into nested SSH session

Suppose I ssh from my laptop to a server alpha, then from there ssh to a server beta. If the connection from alpha to beta dies, is it possible to pass SSH's escape (~.) across the ssh connection ...
0
votes
1answer
40 views

How to print index in a 'for-loop' being executed in remote host through SSH?

I want to ssh into a remote host, and then execute a for loop that goes through sequence of numbers to control number of different nodes. ssh user@host /bin/bash << EOF for i in {1..10} do echo ...