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
0answers
4 views

Missing ssh-keygen command on my system and need to generate keys

I guess the simplest answer would be install openSSH, however this is not so easy in my case. This is small router without packaging system, all is at flash disk. I don't want to install packaging ...
0
votes
0answers
7 views

SSH commands through HTTP REST API

Is there any tool / server for running shell commands through http REST API? Preferably in Ruby. I need to run some commands in OpenShift Origin but they don't have API interface yet implemented.
2
votes
1answer
55 views

tmux limit activity-monitor window size

As part of my work I typically need to connect to multiple different servers via SSH. I like to run a local tmux session to manage various terminals and then from within the SSH session to the remote ...
1
vote
2answers
150 views

SCP remember password

On debian, is there anyway for scp to remember the password I've typed in for the duration of my ssh logon, similar to how sudo does? i.e. PC ---ssh(putty)---> server 1 ---scp---> server 2 ...
2
votes
2answers
24 views

Will a query which may take hours to execute keep executing on remote server if I close the connection after executing the command?

If I connect to a remote database server via ssh, start mysql client and execute a query which may take a couple of hours to execute, then close the connection, will the query continue to execute ...
4
votes
1answer
274 views

How to encrypt rsync communication? (rsyncd + stunnel, vs rsync over SSH, etc)

I don't know much about the specifics of rsync, SSH, stunnel, etc, but I'm looking for a way to make rsync backups, but the transfer of data over the network must be encrypted (the credentials, and ...
1
vote
2answers
120 views

Locking down SFTP user in cygwin

I set up a user to ssh to Windows Server 2008 R2. I was able to change de default directory. The only piece I could not figure out is how to restrict user to just that directory. In other word I ...
3
votes
2answers
4k views

Automount sshfs using fstab without mount -a

Please consider following fstab line (line breaks for readability): sshfs#user@192.168.1.123:/home/user/ /home/user/Server/ fuse ...
0
votes
2answers
32 views

ssh, scp or rsync for deploying built applications? [on hold]

I need to write a "deployer" bash script that will take a bunch of compiled/packaged Java applications and copy them to specific directories on our app servers. My options, as I see them, are ssh, scp ...
1
vote
1answer
23 views

screencapture command on mac fails silently when sshed in

I'm trying to tinker with a machine where I can only connect via shell. I don't have physical access and can't access VNC (maybe that's another question). I'm trying to take a screenshot right now to ...
41
votes
8answers
56k views

How can I tunnel all of my network traffic through SSH?

Whenever I'm using the internet from an insecure location (such as public wifi) I like to use an ssh tunnel (ssh -D port host) to ensure my traffic can't be sniffed. Unfortunately, there seem to be ...
0
votes
1answer
18 views

Amazon EC2 Instance Continually Loses Connectivity

I am currently running wordpress on an Amazon ec2 instance, which runs fine with no problems most of the time, but occasionally outside connection to the instance shuts down. I can't access it over ...
0
votes
1answer
23 views

Using GNU screen to create a split screen environment from command line

Could someone please point me towards the syntax for using GNU screen from the command line. On a previous cluster, I managed to create a bash script that would create X number of tiled shells, each ...
1
vote
2answers
16 views

ssh_config, host section for servers in search domain

I have test.example.com in my DNS search domains. When I ssh server01, it connects to my server as expected. However it doesn't follow my ssh_config rules because it doesn't match: Host ...
0
votes
0answers
10 views

Windows - can't get Unison to run on Windows (bash: unison: command not found)

Windows 7 64 bit Hi, I installed cygwin and ssh and some other packages along with it. I also downloaded Unison and copied it to folders in c:\Program Files\Unison and added that path to the ...
0
votes
1answer
2k views

SFTP via Terminal Error

I cant connect to a server via sftp any more, I could yesterday. Here is the full sftp -vvv log, maybe you could help me out? Tried deleting ~/.ssh, tried hosts.allow / hosts.deny. No solution at all. ...
0
votes
0answers
15 views

ssh-agent/ssh-add - how can I force confirmation by default?

I use ssh forwarding alot and I'm concerned about "agent hijacking", so, I like to use -c option when calling ssh-add, which enforces confirmation on every key usage. How can I turn the confirmations ...
0
votes
0answers
13 views

How do I set up an ssh local forward over vpn?

I'm trying to ssh into a work computer through my VPN, but am having a hard time getting it to work. My setup looks something like: +-----------Work ...
17
votes
6answers
83k views

How do I edit text files in the Windows Command Prompt?

On Unix I'd just use vi, but I don't know what the command is on Windows. I am actually trying to edit files over ssh with Windows Server 2008.
0
votes
1answer
18 views

SSH authorized_keys and newline

I am trying to configure SSH with public-key authentication on Debian. I can't seem to get it to work because auth.log keeps saying that can't read key type:...(key line)\n. It keeps complaining ...
0
votes
1answer
30 views

Remote user password does not work for SSH

I have enabled remote login on my OS X mavericks macbook pro. After I ssh user@ip I am prompted for the remote user password. When I enter the remote user's password it's rejected. I am confident the ...
0
votes
0answers
8 views

DD-WRT download for Linksys WRT54GLv1.1. Misleading typo in the dd-wrt website?

I downloaded build 14896 here (http://www.dd-wrt.com/site/support/router-database), which is labeled as "pre-SP2" from the website but the web interface of the router says dd-wrt v24-sp2 (not ...
1
vote
1answer
19 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 ...
1
vote
1answer
28 views

Debian SSH authorized_keys is being ignored

I'm using authorized_keys to restrict the usable commands for an user. The owner of the ~/.ssh and the file is the root and set to chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys This was working ...
1
vote
4answers
439 views

Auto propagation of bash settings across many machines?

I need to console to many machines through SSH. Including Linux, Mac, mobile devices, virtual machines. Sometimes I need to login to more than 10 machines in one day. I enjoy my personal .bashrc or ...
2
votes
4answers
2k views

loading local shell aliases to ssh session dynamicaly

When I log in to some machine using ssh I wish my aliases and functions are there. In other words, log in to some machine I wish I can use my command shortcuts. I need it be dynamic, every time I'm ...
0
votes
2answers
19 views

How do I stop PuTTY becoming unresponsive to input when displaying large amounts of text?

I use a windows 7 machine to ssh into a remote Linux machine using PuTTY 0.62. When I accidentally forget to stream the output to a file and run a program that prints a lot of data to the screen I ...
0
votes
1answer
14 views

SSH connection with key, not working with rsync

After creating a key with no password, I can login with SSH to my remote host: $ ssh root@machine.local Welcome to Ubuntu 14.04.1... However when I try to use SSH to rsync to the same remote host: ...
0
votes
0answers
9 views

Get growl notifications from within a unix screen which is not in focus from a remote SSH session

Using iTerm2 I have growl notifications working within a (unix) screen session on remote servers when that window has screen's focus: My server's ~/.bashrc has: growl() { local ...
0
votes
2answers
16 views

Don't have permission for .ssh folder and the keys inside, despite being owned by me

On my Mac, I can't use git (and consequently Heroku) because of incorrect file permissions. The root user can access them fine, but my user cannot, despite me owning it and it being in my home ...
0
votes
0answers
8 views

Mac OS X 10.9 managing several identities for ssh-agent

IS: I need to use several private keys, which are stored under ~/.ssh to connect to remote hosts. That is, only one of them (stored in id_rsa) is read by ssh-agent when it starts with defaults, as ...
1
vote
1answer
28 views

Can someone set me straight on SSH into my personal computer?

I have opened port 22 on my router (using the Belkin GUI) and it forwards to the ip of my computer (the one that is 192.xxx..x.x) and I have sshd listening on port 22. I can ssh in from within my ...
3
votes
2answers
2k views

what is difference between .ssh and .ssh2 directories

Why I have both in home directory? Is this just different versiosn and one can be deletec? When I generate SSH public/private key with program ssh-keygen, which is used?
1
vote
2answers
28 views

Run a script post login linux

I would like to run a script after a linux user logs in to do some additional security checks. The user should first login normally using their password, but then be checked with my script, and then ...
0
votes
0answers
6 views

connecting to Server via Reminna Remote Desktop

I am trying to connect to an ubuntu server via Reminna using RDP. I can connect via the command line with ssh -i privatekey.pem ubuntu@ipaddr But when I try to connect with Remmina using the ...
1
vote
1answer
38 views

How to scp without password prompt without storing private key

Here is my current setup: Connect to a Ubuntu server (Let's call this the server) from Windows Do something interesting. Send files from server 1 to another Ubuntu box (the box). I used to store ...
1
vote
0answers
1k views

Windows 7 SMB / Port Forwarding

I'm trying to configure my home desktop to work with tunnelling, SSH Port Forwarding and Windows File Shares. It was working for me but with any change in the setup it suddenly stopped and I can't ...
2
votes
4answers
87 views

Detecting known computer on public network in BASH

Anybody know of a way through BASH (specifically OSX terminal, but I'd prefer a BASH only solution without OSX' in built functionality) to detect a known computer on a public network (that I am also ...
0
votes
1answer
8 views

Can’t ssh to the router from the computer (windows) in the same comcast network

I have a ASUS RT-N16 router flashed with DD-WRT. I connect it’s WAN port to a COMCAST modem. The problem is I can’t ssh to the router from the computer (windows) in the same comcast network. (just ...
1
vote
3answers
1k views

SSH session hangs when trying to open a shell

Since this morning I cannot login normally on my server using SSH anymore. Typically, when typing this: ssh foo@bar.org The shell hangs and does not acquire shell. The last line of verbose with ...
0
votes
1answer
19 views

Is there a way to copy text in htop?

Normally in putty you can just select text to copy it, but I can't seem to select text with my mouse in htop. Of course there's no right click menu to copy, ctrl+c doesn't work, and I didn't see any ...
0
votes
4answers
48 views

FTP: Cannot connect using FileZilla on Windows.

I installed FTP Server Services on my IIS 8.5/Windows 7 workstation, and tried to FTP using FileZilla from my laptop (client - Windows 8). I tried to configure the Network Settings using Network ...
0
votes
1answer
26 views

Why is [ssh,scp,rsync,etc] so slow, from a VM to another local machine on my gigabit local network?

I have a VM A running the latest archlinux with QEMU, KVM and a Virtio network card. It is a buildbot and it needs to drop the result on another machine B on the local network. The VM is started with ...
2
votes
0answers
329 views

Launchd not launching ssh-agent after plist edit

I'm trying to reconfigure my ssh-agent to have a timeout via the -t argument. I edited /System/Library/LaunchAgents/org.openbsd.ssh-agent.plist <array> ...
0
votes
3answers
91 views

Connection closed by [SERVER_IP]

I'm not a guru of ssh but somehow I cannot connect to server with IP and username: ssh -p [PORT] [USERNAME]@[SERVER_IP] Response is always: Connection closed by [SERVER_IP] The problem is on the ...
0
votes
1answer
19 views

sudo ssh asks for passphrase when it shouldn't

I am able to ssh user@remotemachine without password using a keypair with an empty passphrase. However, when I do sudo -u user ssh user@remotemachine it keeps asking for a passphrase. Also sudo -u ...
1
vote
1answer
13 views

why does OpenSSH 6.x client send a string upon connection but 5.x does not?

TL;DR: Why does the ssh client for OpenSSH 6.x send the string "OpenSSH_6.2p2" immediately when connecting, and OpenSSH 5.x client does not send anything? I am trying to get an ssh tunnel working ...
1
vote
4answers
152 views

Shell script: ssh to remote machine, then exit: 'exit' does not work

I have a shell script of the following type: #!/bin/bash ssh mylogin@myremotemachine.com echo "Hi" exit I run it locally to do something on a remote server (represented by 'echo "Hi"'). However, ...
0
votes
2answers
22 views

CentOS. Set environment variable permanently

I used a following commmand in SSH terminal on my server: export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib and it works fine: my program finds all libraries at this point (if I launch it from my ...
0
votes
1answer
23 views

Putty refuses connections to all remote servers

I'm trying to connect to my VPS servers, but putty is giving me connection timeout errors. I recently got a new broadband connection and for some reasons putty is not working on the new connection, ...