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
1answer
930 views

Switch GNU Screen windows with F-keys on PuTTy

I'm trying to use the f-keys to switch windows on GNU Screen/PuTTy, but I can't get it to work. This is my current .screenrc: bindkey -k k1 select 1 bindkey -k k2 select 2 bindkey -k k3 select 3 ...
1
vote
1answer
781 views

Connect using sqlplus to db server through multiple tunnels

I would like to create an SQL Developer connection to a database through a couple of tunnels. The steps right now are: Connect to server A -> connect to server B -> run sqlplus against tnsname on a ...
2
votes
0answers
318 views

Multiple SSH Connections over different connections

I have a Linux box with a couple of 3G/HSDPA modems, seen as network connections, and i would like to get each to connect to a server over SSH. The server could be the same server, and i would need ...
0
votes
3answers
2k views

ssh into a remote server and use its internet connection in Chrome

I believe this is called connection tunneling? or proxy? I want to use the internet connection of a remote server, is it possible? with Chrome or Firefox + ssh? How would I do that? S.
4
votes
5answers
5k views

How to edit known_hosts when several hosts share the same IP and DNS name?

I regularly ssh into a computer which is a dual-boot OS X / Linux computer. The two OS instance do not share the same host key, so they can be seen as two host sharing the same IP and DNS. Let's say ...
8
votes
3answers
6k views

Cygwin ssh server is not accepting connections

I've just set up an SSH server (OpenSSH) on a Windows 7 machine using cygwin and I'm trying to connect to it using PuTTY on a Windows Vista machine but I keep getting Connection timed out. I've ...
0
votes
1answer
80 views

Suppress failed login message

When I don't have permission or log in with a wrong password ssh prints "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)." Is there a way to configure SSH on the server to not emit ...
1
vote
2answers
526 views

Conection refused error for telnet and ssh

I try to telnet to one of my systems 172.16.xx.z from 172.16.xx.y, but the response i get is- sudo telnet 172.16.xx.z Trying 172.16.xx.z... telnet: Unable to connect to remote host: ...
2
votes
2answers
166 views

Unix tab tab equivalent?

So using (tab)(tab) in the bash is a cool autocomplete feature. However, here's my situation; when I type e.g. ssh(tab)(tab), it will display all the sshs I have but I have no way of greping from ...
0
votes
1answer
450 views

Should I expect the key fingerprint as it appears in Putty key generation to match the server I am connecting to?

I generated a pair of keys i.e. private and public keys using Putty's key generation tool. The public key was provided to the third party we plan on connecting to so that we only need our private key ...
0
votes
1answer
2k views

SSH + Sudo + Expect in Bash script: Run command with sudo in remote machine

I am trying to automate the deploy of some .deb packages with an script. I want to execute sudo dpkg -i $myDeb.deb in a list of remote machines I can access with ssh. I've tried to automate the ...
1
vote
0answers
119 views

Windows Access is Denied to file created via ssh

I have a Windows server with cygwin installed and an sshd server running. I SSH in, and execute the following lines: echo "Hello World!" > /cygdrive/c/Users/Administrator/Documents/helloworld.txt ...
0
votes
1answer
293 views

Add a remote printer over ssh on OSX?

I have a printer at my office that is connected to a local network and my linux box at work can see it on the network. However, it is not visible to the outside world. I was trying to figure out a ...
2
votes
4answers
8k views

How can I remove the ssh last login info?

Whenever I log into a server using ssh. The prompt gives me "last login" information. I was wondering where this information comes from. How can I remove this record so when someone else log into the ...
0
votes
1answer
179 views

Transparent ssh proxy with multiple hosts

Is it possible to set SSH up so that for any attempted connection it first tries to connect directly, if that fails it tries to connect via another host. If that fails, it tried to connect via another ...
1
vote
0answers
267 views

lftp mget equivalent for put?

Reading this answer, it seems an awesome way of transferring a ton of tiny files between two remote machines is lftp's mget command. However, I'm using two machines without root access, and only the ...
3
votes
1answer
3k views

How to avoid sshfs freezing?

So the issue is this: I've installed sshfs on Ubuntu 12.04 and I'm trying to connect to a couple of remote servers. So initially the mount seams successful. Sometimes Gnome even picks it up and ...
2
votes
5answers
3k views

Is it possible to download extremely large files intelligently or in parts via SSH from Linux to Windows?

I have a ~35 GB file on a remote Linux Ubuntu server. Locally, I am running Windows XP, so I am connecting to the remote Linux server using SSH (specifically, I am using a Windows program called SSH ...
0
votes
2answers
3k views

Sending files through ssh

I need to send files to a server using ssh. I have never used ssh so this is being really frustrating to me. Mention the client (me) is using windows and the server is using Ubuntu. I connected to ...
-1
votes
1answer
92 views

where linux fedora limit concurrent opening connections in terminal?

i have some webserver around and to manage the cluster i sometimes use script which open automatically the connections &/| sync files to them using python scripts, i've found a weird problem and i ...
2
votes
1answer
2k views

Remove key from known_hosts file in ChromeOS

With the very limited ChromeOS crosh shell, how do I remove a host key from my known_hosts file in ChromeOS.
1
vote
1answer
2k views

I cant add ssh to update-rc.d, says mismatch stop runlevel

Im trying to get ssh start as the system start so I can putty my way into it remotly. I've tried sudo update-rc.d ssh defaults but ut says update-rc.d: using dependency based boot sequencing ...
5
votes
2answers
5k views

Enable SSH on a Mac in single user mode

I have an iMac that I can access only in single user mode, because of serious hardware damage. I attached to it another computer with an Ethernet cable. I would like to login remotely to the iMac ...
0
votes
1answer
336 views

msysgit on the command prompt without bash

I've got mysysgit setup with Tortoise with PuTTY and ssh. From the Tortoise side everything is working I can clone, pull, push, etc. If I drop to a command prompt and run git I see the help screen so ...
0
votes
3answers
1k views

Unix make all files copied into directory owned by me

I am working with a group on a supercomputer and we are storing all project files in my home directory, the problem is if I need to manage some of the files, I can't because they own the files. I need ...
0
votes
0answers
617 views

sudo prompts for password over ssh

I have sudo set up for a user (myuser) as follows on "hostname" (sudoers content): myuser ALL=(suser) NOPASSWD: /path/script* this works fine, so I can run the following, logged in locally as myuser ...
1
vote
1answer
565 views

OS X Terminal Remote Connection Port Number

I've been trying to set up a remote connection via terminal, but I'm running into a few issues. This is how I initially had it set up: ssh root@***.***.***.** Then I tried to add the -p 1234, but ...
0
votes
1answer
458 views

Mac OS X and root login enabled

I am running OS X Snow Leopard 10.6.8, and I've enabled root login through Directory Utility. It has a password. I get an error when I try to ssh root@localhost. ssh -v root@localhost OpenSSH_5.2p1, ...
1
vote
2answers
530 views

How would I administer my linksys router through ssh?

Most of the administrative tasks required some http service used over a web browser. Is there a way to perform adiminstrative tasks to my router through ssh? Sometimes having a GUI is not possible ...
0
votes
0answers
97 views

SSH is not working on Mac OS

Whenever I try to ssh some place, that happens: $ ssh user@someip MK-AUTH/Debian Linux V4 user@someip's password: I type the correct password and it does not work. I guess the problem is related ...
0
votes
1answer
354 views

ssh failed because I can not press [Enter] key

I've two machines. m1: Solaris Sparc SunOS 5.10 m2: ArchLinux 3.4.4 m3: Solaris Sparc SunOS 5.10 When I try to login m2 from m1, I can not press [Enter] key, it just display ^M. m1$ export ...
1
vote
1answer
388 views

SSH into my Mac OS Lion - slight dilemma

I'm trying to enable my Mac Lion (which has a username xyz) for ssh. I've done these steps: System Preferences -> Sharing -> Enable Remote Login for all Users System Preferences -> Network -> ...
4
votes
2answers
737 views

What is id_rsa.keystore?

In my .ssh directory I have the following files - drwx------ 2 rohit rohit 4096 Jun 22 03:34 ./ drwxr-xr-x 62 rohit rohit 4096 Jun 22 11:16 ../ -rw-r--r-- 1 rohit rohit 402 May 25 15:19 ...
0
votes
3answers
2k views

How to do something like `mplayer movie.mpg` from ssh and it play on the current display?

I've set up a little media center computer running Arch Linux. I want to eventually get it so that there is no keyboard or mouse required. Right now I want the solution to be SSH. My problem is that ...
1
vote
1answer
982 views

SSH Agent Forwarding Not Working [closed]

SSH Agent Forwarding stopped working for me. Any ideas as to what might be going on? I'm attaching my logs below: Connecting to the server: http://goo.gl/4xxz9 Connecting to github on server: ...
0
votes
1answer
119 views

Public-Private key pair ssh authorization for another login

Currently to connect to my server via ssh I am using ssh domain.com -l root I am authenticated with public-private key pair. My Mac username is different from root, so I need to provide -l key. ...
2
votes
1answer
148 views

How to get rid of motd on a single user account?

I know how to modify and how to get rid of motd in general, but the problem is, that I'm not allowed to sudo on my school's server - and I'd like to get rid of a quite long motd that appears each time ...
0
votes
1answer
198 views

SSHFS: send remote setup commands before mounting

I am trying to mount through sshfs (with osxfuse, former macfuse) a folder on a router. Unfortunately the router doesn't replay directly with a standard command line but requires a couple of commands ...
2
votes
4answers
626 views

How to give computer URL to access over the internet?

I would like to be able to SSH into my macs over the internet using a DNS name like my-imac@example.com or something similar instead of having to enter an IP address every time. How can I assign ...
1
vote
0answers
120 views

Configuration to point an X tty to a separate system?

Specifically, I have an Ubuntu 10.04 system with a headless Ubuntu 12.04 virtual machine, and I'm looking for a way to have it set up so pressing ctrl+alt+F8 will take me into another X client which ...
1
vote
1answer
654 views

Why doesn't redirect work for scp password input?

I want to copy from remote box with scp, while the fact that each time I have to re-enter password is annoying. So I store my password in plain text and expect the following code should work scp ...
1
vote
0answers
121 views

ssh - user xyz does not exist

when connection via ssh to a server I get the following message: -ssh-bash: User #1003 does not exit in /etc/passwd. It used to work and newly I made an update to the ssl libraries on my ubuntu. ...
-3
votes
1answer
2k views

download file using SSH in putty in windows operation system

How do you copy file from Remote to your local computer in Windows using Putty. scp -r username@remote:/path/to/folder /dest/local/path I tried this but what would I write in place of ...
2
votes
2answers
821 views

Can I re-attach SSH key forwarding through a disconnected Screen session? [duplicate]

Possible Duplicate: ssh-agent key timeout with screen or tmux on bastion host I have a laptop on which I have pageant (the PuTTy SSH key agent) running. If I ssh to a system and launch ...
0
votes
2answers
135 views

Text wrangling: How can I get just the key comment from authorized_keys?

Auditing some servers, I need a list of the comments on all the authorised keys in the authorized_keys file. How can I cut this file to display a list of comments, eg user@host? Anything can appear ...
0
votes
2answers
293 views

Unable to configure SSH in Cygwin

I'm new to Cygwin and I'm trying to install Cygwin with SSH. But currently I got a problem while configuring SSH. I passed all steps for configuring SSH until it asks for the password of the ...
3
votes
1answer
691 views

ssh-agent key timeout with screen or tmux on bastion host

Normally I have ssh-agent running, I ssh to my bastion host then open a tmux session and connect to other boxes through that. Key forwarding works for any sessions that I open from that point ...
1
vote
0answers
110 views

SSH (or other remote access) in Windows 7 outside session 0

I would like to connect to Windows 7 remotely from script (run from Linux) and be able to execute GUI commands (i.e. command that access the display device). What is the easiest way of achiving it (I ...
1
vote
1answer
1k views

Changing IP settings via ssh in Ubuntu. What should be done?

I've hear mixed things about how to handle setting IP parameters in Ubuntu. There's several sources that say if a GUI is installed like KDE or Gnome, that you should only use the network manager to ...
1
vote
3answers
127 views

Why does ssh provide insecure off-host forwarding?

In the local port forwarding invocation below, [me@TunnelBeginHost]$ ssh -L TunnelBeginPort:TunnelEndHost:TunnelEndPort ViaUser@ViaHost , given the fact that the portion of the tunnel between ...