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
13 views

Ubuntu 14.04 ssh server hanging when connecting but pings works

I am running an Ubuntu ssh server with login and ChallengeResponseAuthentication enabled. However, the following command outputs this and hangs until timing out: ssh -vvv name@xxx.xx.xxx.xxx ...
11
votes
4answers
10k views

How to copy a file without using scp inside an ssh session?

I have logged on to a system with ssh and there is no scp present on both the systems. How to copy a file without using the scp program.
0
votes
0answers
9 views

ssh under OS X 10.6.8 outgoing Permission denied

I have an OS X 10.6.8 installation that allows ssh into it (but not necessarily much further). However when it comes to ssh out from this installation, it fails in the two instances I can test, both ...
0
votes
0answers
10 views

How to go through this duplicity stalled connection?

I am trying to set up backups via duplicity. Here is the use case: ~$ duplicity --encrypt-key CA17A4FA --progress --ssh-options="-l 8192" ~/Documents/ ssh://my.distant.host/save/docs/Documents Local ...
0
votes
1answer
11 views

How to run a script on boot?

i have the following commands i want to run when the raspberry pi boots up, it is for my bitcoin minner to start cd /home/pi/cgminer-4.5.0 sudo ./cgminer -o http://xxxxxxxxxxx -u xxxxxxxx -p ...
0
votes
0answers
4 views

How can I connect to apex oracle database using ssh?

I have obtained a workspace in apex.oracle.com , where I can use database provided for me. Now I can run the sql command in browser to do operations, but thats kinda slow. So what I need to do is , ...
0
votes
0answers
5 views

CygWin shortcut to launch server, connect and start a program

I have miraculously only spent about 20 minutes getting an installation of cygwin to communicate with a remote box that I use for controlling my CNC machine. At this point, to get everything running ...
4
votes
4answers
4k views

how to ssh two computers behind NAT and Firewall, without third computer

I am trying to ssh into my Linux box at home. My home is a dorm-style environment - NAT and Firewall with personal laptop running Arch Linux. My work is corporate style Windows 7 - NAT and proxy ...
0
votes
0answers
22 views

SSH and telnet fail strangely on an embedded linux system

The target machine is an embedded linux running BusyBox v1.00-rc2 (probably) on an ARM board. It's sealed and I can't open it, not that I would have the resources or knowledge to do anything even if I ...
12
votes
9answers
13k views

How to SSH into Red Hat Linux (virtual box guest) from Windows 7 (host)?

I have Red Hat Enterprise Linux (RHEL) running through Virtual Box, my native OS is Windows 7. From a purely educational standpoint, I want to be able to access RHEL from Win 7 over SSH. I downloaded ...
0
votes
2answers
13 views

When I launch a gui app via ssh on Windows 7, why is the GUI not rendered?

Machine A is running Putty connected to Machine B: C:\Putty>runas /user:admin "notepad" Machine B is running freesshd server: Starts the notepad.exe process, but does not render the GUI. Am I ...
2
votes
1answer
1k views

Launching programs remotely via SSH on Windows 7

I've installed freeSSHd server on Windows 7. It works fine but when I try launching any graphical executables via SSH (e.g. "C:\Program Files\GIMP 2\bin\gimp-2.8.exe" or start /d "C:\Program ...
0
votes
1answer
23 views

is it okay to allow password access to server?

I am getting ready to host my first webserver. I noticed that cloud providers allow access to your server either through a password or via ssh only. Do web administrators generally prefer the ssh only ...
0
votes
1answer
2k views

Virtual Machine with Bridged Adapter to Centos not accepting ssh from host machine

I have a bridged connection on VirtualBox from os/x 10.8.5 host to Centos 5.8 client. But I suspect this is more of a general issue than specific to the host and precise version of linux. Shown ...
3
votes
3answers
2k views

automatically start screen upon ssh login

I have been reading about how to automatically start a screen when I ssh to a remote server. I would like a simple one-liner to add to my .bash_profile to start a screen when I ssh in, and NOT exit my ...
2
votes
1answer
252 views

EC2 - ROOT & SUDO not working

I've setup an EC2 instance(PHP, MySQL, phpMyAdmin). Last night I accidentally execute some command that messed up the permissions. I was able to login as root before (to ssh using puTTy) but now ...
1
vote
1answer
2k views

Unable to ssh in beagle bone black

I wanted to install pip onto beagle bone black,and I tried this: /usr/bin/ntpdate -b -s -u pool.ntp.org opkg update && opkg install python-pip python-setuptools Then it threw errors, ...
0
votes
1answer
13 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
12 views

SSH commands through HTTP REST API [on hold]

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
153 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
25 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
276 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
126 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 ...
4
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
35 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
19 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
31 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
16 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
16 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
14 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
31 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
24 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
445 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
24 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
15 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
12 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
22 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
9 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
30 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?