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

Attach X-forwarded window to both displays?

I know I can start an application on the main display of a linux computer over ssh with something like : DISPLAY=localhost:0 firefox http://nyan.cat I know I can open windows on my laptop over ssh ...
0
votes
0answers
64 views

Custom Hosts file entry resolves in browser but not when pinged

I have a hosts entry to redirect app-dev/ to my application server. This resolves correctly in the browser but when I try to ping app-dev/ or ssh into it, neither can resolve the name then. The only ...
0
votes
1answer
130 views

disable ssh password prompt with -l option

I'm trying to execute some commands on a remote machine using the syntax: ssh -l ${USER} ${HOSTNAME} "$SCRIPT" I get prompted for my password on the (local) machine. I need to disable this prompt: ...
3
votes
2answers
514 views

Is setting a mail user's shell to /usr/bin/passwd in the /etc/passwd file a safe way to allow them to change their own password by simply ssh'ing?

I have a machine which is used mostly as a mail server: $ uname -a Linux myhost.com 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux and I would ...
2
votes
2answers
1k 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
0answers
2k views

Problematic SSH to Vagrant virtual machine

I have a Vagrant guest VM running FC18 on a host running FC19. The guest vagrantfile includes public networking (config.vm.network 'public_network'). After a vagrant up, I can see (ifconfig) three ...
0
votes
1answer
231 views

How to get a mosh-server secret key from the running process?

I have standard mosh setup, a mosh-client on local.machine, and a mosh-server on remote.machine. I've still got access to both mosh-client, and the mosh-server processes, both are still running. Is ...
0
votes
1answer
833 views

Tunneling to access a remote server: channel 2: open failed:

I've tried looking at similar articles here but they haven't helped. I am using a tunnel to forward traffic to port 8080 of a server using the following command: ssh user@ -L 8080:SERVER:8080 -N It ...
0
votes
1answer
35 views

How to make the Delete key work in mysql prompt?

I use Putty to connect to a Linux machine from a Windows machine via ssh. The keyboard works just fine in Bash. But in the mySQL prompt, the Del key prints a ~ intsead of erasing a character. Any ...
0
votes
0answers
348 views

Remote Desktop (RDP) + Tunneling

Sorry for the long story, I tried to be crystal clear. * A little back ground * As part of a project we need to be able to access certain computers (hereafter called clients) using remote desktop ...
0
votes
1answer
924 views

SSH fails to connect

I just updated from fedora 17 to fedora 19 using fedup in both my laptop and desktop. Somehow ssh is not working in both my laptop and desktop. In both cases I ensured the following: Ports defined ...
7
votes
1answer
12k views

How can I get the scp command to overwrite the destination folder

I am using the scp command to copy some files to a remote pc, as you do with scp :) I note that the default behaviour of an scp copy for files is to overwrite any existing files. Now I want to copy a ...
1
vote
0answers
43 views

Is it possible to abort ongoing connection using xinetd access_times?

The access_times attribute in xinetd config file allows to limit access times for services. What I want to know is if I have an opened connection (an ssh one) established in allowed time, how to ...
2
votes
0answers
246 views

GUI ssh clients for mac?

Is there a GUI ssh tunneling client for mac that supports jump servers? Mulitple hops? I have tried: coachilla SSH tunnel manager Tunnelblick tunneling manually through terminal is fine, but time ...
0
votes
2answers
404 views

Avoiding geo-blocking with SSH tunneling

I live in UK and I need a Spanish IP to access some content on the internet. I rented a VPS server based in Spain, which has a Spanish IP. Now I folowed this tutorial to create a SSH tunnel to my ...
2
votes
1answer
2k views

Why doesn't my Raspberry Pi's IP address show up on my D-LINK router under LAN?

I have a Raspberry Pi B R3, and I want to configure it to be a server. I am planning on plugging it directly to my router and then using SSH to control it. I have turned on SSH, moved my RPi to the ...
1
vote
2answers
389 views

Linux/SSH - get EC2 instance to read local .bashrc file

I have a custom .bashrc file with color codes locally on my Linux machine running Ubuntu 12.04 for both my user and root. I connect to Amazon EC2 instances daily running the same distro and would ...
1
vote
2answers
2k views

Can't access my ssh linux server when outside network

So I've been scouring the internet for days trying to figure this out and can't figure it out. I know its going to be an easy one. So I recently took an old desktop and loaded ubuntu server 12.04 on ...
0
votes
2answers
150 views

Overwraping lines when using ssh by osx terminal

I'm using ssh command from osx terminal to connect my centos remote server. If I type long string and want to go next line, the characters don't go to second line but come back the first line left ...
5
votes
1answer
365 views

SSH freezing with ControlPersist on

I recently enabled ControlMaster and ControlPersist in SSH so that it reuses and multiplexes connections for speed. The config is: ControlMaster auto ControlPath /tmp/ssh_mux_%h_%p_%r ControlPersist ...
0
votes
1answer
529 views

unable to connect to mysql over ssh tunnel to virtual machine

my setup host: win 7 guest : opensuse [10.0.2.15] Ports forwarded 80, 22 from 127.0.0.1 to 10.0.2.15 Connection to VM using winscp with user@127.0.0.1:22 using public key authentication is working. I ...
2
votes
1answer
223 views

How to get a bash prompt in a ssh tunnel with rsa keys?

After setting client and server with the public keys and allowing PubKeyAuthentication yes, I issue the following command and get a shell that waits indefinitely. mad@amd:~> ssh -T ...
0
votes
1answer
574 views

How can I specify a resolution for fullscreen applications through cygwin/x?

Most easily explained with an example. On my windows machine in cygwin I start the x server with: matthew@cygwin $ startxwin Then I ssh to my linux mint machine with X forwarding matthew@cygwin $ ...
2
votes
1answer
2k views

Is Comcast blocking my SSH on a high port?

I am having trouble getting SSH to work. I am using a non-standard port (9876). I verified my server's IP address both by using an external whatismyip type site, and by using curl ifconfig.me, both ...
0
votes
1answer
33 views

Route traffic individually

My schools smtp server is only available while Im at school. I can proxy to a server at school through an ssh tunnel but then ALL of my traffic. I want to tunnel one thing only (The smtp ...
2
votes
1answer
1k views

Why did windows update break WinSCP and PuTTY?

I recently did an update to my windows 7 machine. Before, I was able to connect to a linux server at school through WinSCP and PuTTY with no issues. Now, I am either booted off after only a minute ...
2
votes
1answer
77 views

Is is possible to tunnel a port over SSH for the current user only?

I'd like to establish an SSH tunnel, but I'm on a shared system. I'd rather not share access to the tunnel with the rest of the users. Is there any way to restrict the local port for my use only, as a ...
0
votes
1answer
325 views

Most efficient set up for multiple ssh tunnels?

I currently require remote access to around 10-20 machines, some of which need to be accessed via multiple SSH hops. However I've noticed that some of the SSH connections are a bit sluggish. What is ...
1
vote
3answers
783 views

Moving files over SSH and delete on source after successful final copy

I have a folder of ~200 000 files with a total size around 300 GB that I need to transfer over an SSH connection to a remote host. I'm looking for a way to have the local files deleted after it's been ...
1
vote
1answer
1k views

Ubuntu 10.04 using ssh without entering my password

I know questions like this have been asked before, and I have read them all (that I found). The problem I have is that we have an embedded linux device that we can log into for debug purposes by ...
0
votes
1answer
2k views

Can I output results of a MySQL query to a Excel file via Putty?

I'm on a local windows machine. The MySQL DB is on a CentOS machine elsewhere on the same local network. I want to output the results of the query that I'm typing directly into Putty into an Excel (or ...
0
votes
2answers
889 views

Suppress 'Warning: no access to tty' in ssh

I have a short simple script, that compiles a .c file and runs it on a remote server running tcsh and then just gives back control to my machine (this is for school, I need my programs to work ...
0
votes
2answers
2k views

How to SSH into windows xp?

I have a debian based linux distro (Crunchbang) running on an old laptop (really old). I want to ssh into windows xp (on my pc) from my debian laptop and run windows programs in GUI from my laptop. Is ...
1
vote
1answer
956 views

How to backup a LAMP stack server

What's the best way to backup a LAMP stack from SSH (if this is even possible)? Is it possible to create an image file for a remote server somehow, and then use wget to download this? (I am thinking ...
0
votes
0answers
284 views

Failed to set permissions of path: ..\taskTracker\cyg_server to 0700

While running a job in Cygwin in Hadoop cluster, the permission failed. $ bin/hadoop jar hadoop-examples-*.jar wordcount inputwords outputwords2 Patch for HADOOP-7682: Instantiating workaround file ...
0
votes
1answer
142 views

Can you do continous ssh tunneling?

I saw here a way to do two ssh hops ssh -L 9998:host2:22 -N host1 ssh -L 9999:localhost:1234 -N -p 9998 localhost I think I understand what one line does, but not how they work together. Can ...
1
vote
2answers
783 views

ssh and cd into current directory

When I ssh into mycomputer from logincomputer, I would like to automatically cd into the current directory (the one from which the ssh command was executed) on mycomputer. In particular: > cd ...
2
votes
1answer
1k views

ssh and execute interactive command

I currently have a process where i login to a machine, need to ssh to another machine and then run a command for an interactive job (on a queue-ing system). Is there a way to do this all in one shot? ...
1
vote
1answer
79 views

Legacy BSD PTYs instead of /dev/pts?

I'm trying to use an old database that only accepts connections from legacy BSD style pseudo-terminals /dev/ttyp's or /dev/tty's. It does not recognise /dev/pts/9 style PTYs. Connections via SSH. I ...
2
votes
2answers
55 views

Do I have to create a new private an public key if I want to connect by ssh in the opposite way?

I have a ssh configuration to connect to my VPS from my localhost, but I want to send backups from my VPS to my localhost, and I need ssh authentication. I'm going through this instructions: ...
0
votes
0answers
56 views

Can only connect to ssh remotely not locally

This have worked for over 3 months now, but when I try to connect to the server locally now it's pings out. But when I connect remotely from work or from my mobile it connect right away. I haven't ...
0
votes
0answers
33 views

Which are the main steps to configure ssh?

I've been working with ssh to connect my localhost to my VPS without trouble. But now, I want to do the same conversely (connect my VPS to my localhost). Why? Because I want to create a crontab job to ...
2
votes
0answers
392 views

Resume term after ssh disconnect without multiplexer (screen/tmux)

Screen and tmux (like emacs) are fancy feature rich terminal multiplexers designed to let you efficiently manage terminals as if it was 1985 but they just complicate the simple task of resuming an ssh ...
1
vote
1answer
910 views

Having an issue with NX 3.5.0 and SSH during user authentication phase (time out)

SuSE SLES 11 SP3 Intel P4 I've installed NX 3.5.0 from NoMachines on my home server which has been working quite well until recently when I change the Domain Name for my server through my registrar ...
2
votes
0answers
241 views

Mobileorg not finding emacs org file with ssh server (but it is there)

I'm just getting starting using org-mode with Emacs - I thought I'd use it as an alternative to Evernote. Having it on my mobile is pretty important (I'm using the Android version). I'm getting the ...
0
votes
3answers
3k views

“.ssh/config” E212: Can not open file for writing

I'm new to linux. I downloaded an image of ubuntu 12 for VirtualBox and I want to configure the .ssh/config file to access via ssh to an application in development. I access /home/ubuntu folder and I ...
3
votes
1answer
3k views

NETGEAR ReadyNAS SSH connection closes immediately

I've installed the Enable Root SSH Access plugin to my ReadyNAS Ultra 4. It used to work, but now I'm only getting this message: $ ssh tomas@192.168.1.3 tomas@192.168.1.3's password: Last login: ...
2
votes
1answer
3k views

Powershell remoting as non-administrator

I'm sorry if this is a very basic question. I am using ssh to log on to another Windows computers. Hence I am trying to make a pssession on a localhost. But I cannot do it in normal posh prompt: $ ...
1
vote
2answers
848 views

Setting up Tor Bridge on Debian VPS via SSH

I have a currently unused budget VPS, and I'd like to contribute to the Tor Project by making it a bridge node in the network. However, I'm having trouble finding a clear and reliable guide outlining ...
1
vote
1answer
418 views

Unable to ssh to my desktop

I'm trying to ssh from my mac laptop to my linux desktop. I ran ifconfig on my linux desktop (the target machine) and got the ip address listed under eth0 (the machine is connected via wire - not ...