Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [ssh]

Secure Shell; a network protocol that allows data transfer over a secure channel between two networked devices.

Filter by
Sorted by
Tagged with
2
votes
3answers
3k views

How to set up a SSH tunnel and/or reverse SSH tunnel?

I'm located in Shanghai China and am trying to set up an SSH tunnel (or a reverse ssh tunnel?) to my brother's server located in the States. I'm using windows xp and he has a mac. We are both using ...
336
votes
14answers
292k views

An SSH tunnel via multiple hops

Tunneling data over SSH is pretty straight-forward: ssh -D9999 username@example.com sets up port 9999 on your localhost as a tunnel to example.com, but I have a more specific need: I am working ...
9
votes
9answers
39k views

SSH from Windows to Linux without entering a password

I am trying to use ssh/scp from Windows to Linux without having to enter a password. This is what I have done, and it doesn't seem to work: generated public and private keys using Putty Key ...
1
vote
3answers
2k views

Activate wireless on a headless Ubuntu box via ssh

Okay, so I have an interesting setup going on. Far away from me, is a headless (no monitor) Ubuntu box hooked up to an ethernet cable. This computer is intended to be a public internet station at a ...
0
votes
2answers
2k views

What could be the cause of randomly getting “No route to host” errors when trying to ssh or sftp?

The computers are within the same network using WLAN. The error doesn't always show. Sometimes I can connect without a fuss, and sometimes the error shows.
21
votes
4answers
68k views

How to download a file from the command line? via ssh?

I want to download files from a remote server to my local drive, and do it from the command line. I also want to be able to do this over SSH. How can I do this? Note: the remote server is Ubuntu, the ...
1
vote
2answers
2k views

Copying files through an SSH Proxy

I want to copy some files from remote machine at work, but I can't ssh to the machine directly, I login via an SSH proxy which presents menu of hosts to connect too, I choose the machine I want and ...
0
votes
2answers
2k views

iPod Touch file structure: where should I put a song?

I have ssh to and from my ipod. Now I need to know the file structure so that I can manipulate it without itunes (ie wirelessly) Where would one, for example, put a song file and what files would I ...
3
votes
2answers
4k views

How to load previous kernel via ssh?

I work remotely on my work computer. I am also the root of the workstation that I am sharing with my colleague. Yesterday, I upgraded the kernel to 2.6.31-17 when asked by the update manager but ...
2
votes
1answer
1k views

ssh authentication to an AFS using public/private key pairs

I'm writing a lil' bash script to update files on a webserver from any authorized computer. In the end, I want to use the scp command to do the work. scp -i ~/.ssh/id_rsa $localpath $user@gpu.srv....
1
vote
1answer
415 views

SSH into my Mac from my iPod

OK, so this is what I got, but it doesn't look right... The set up is as follows: My Mac is on a wireless network, presumably behind a firewall over which I have no administrator privileges. ...
0
votes
1answer
539 views

Do I need to have a proxy server to have HTTP over SSH?

I want to use HTTP over SSH since in my university most of the sites are blocked. I have my own server to which I can using SSH. What I'm doing right now is have a squid proxy run on the server on a ...
0
votes
1answer
498 views

Safety of reverse ssh tunnels

say I have a reverse tunnel from my computer to my shell account online. Does that make me more susceptible to being hacked? I want to use it for my macbook pro from my dorm room. Cheers
1
vote
5answers
5k views

SSH client for Mac?

I want an App for Mac OS X 10.5 to connect to my site using ssh. The app must be free and have some sort of instructions to get me started. EDIT: I just needed to take care of something on my ...
1
vote
2answers
3k views

dd-wrt v24sp2 std. on WRT54GL v1.1 - remote access do not work (neither ssh not web-interface)

After installing the standard version of dd-wrt v24 sp2, I lost the ability to remote-access the router. The sshd is running and remote ssh is enabled. I can ssh into the router from the LAN, and ...
12
votes
5answers
72k views

How can I copy files with SSH?

I am trying to copy a file from my other computer, to another computer. (both running Ubuntu 9.10) So, I've ssh'ed into the other computer; I cd to the directory; and I entered cp File.zip /home/me/...
0
votes
4answers
267 views

Run computer with SSH only

I use my Ubuntu computer for downloading torrents via utorrent. I use a webui to control utorrent and i then move the files it has downloaded to different folders using ssh commands (Movies, Music ...
1
vote
1answer
293 views

local app opening instead of ssh forwarded app over x

i have a custom install of ubuntu 9.10 - xorg intel and its deps, icewm, xde and swiftfox from the swiftfox repos. I'm trying to start a ssh forwarded session of swiftfox from another system - which ...
141
votes
9answers
143k views

How to use Mac OS X Keychain with SSH keys?

I understand that since Mac OS X Leopard the Keychain has supported storing SSH keys. Could someone please explain how this feature is supposed to work. I have some RSA keys that I've generated ...
3
votes
1answer
6k views

Mount EC2 instance via SSH on Mac OS X

OK I just can't figure this out. I have an EC2 instance, which I'm able to SSH into just fine with: ssh -i XXXX.pem ubuntu@XXXX.com I can even make it slick from the command line by creating a ~/....
0
votes
3answers
2k views

Reboot server running XP via ssh

How can I reboot my server which is running XP via ssh? I think it may have partially crashed, but at any rate it isnt letting me connect via RDP. Thanks for the help! EDIT: I am using putty, and it ...
52
votes
5answers
69k views

How do I remove an SSH forwarded port

I used ssh -L 10002:192.168.0.30:10002 192.168.1.135 to establish port forwarding but now I need to remove it. How do I do this?
1
vote
2answers
425 views

Using Mac Mini to store a Bootable Backup of Mac via SSH

I'm trying to back up my Macbook since I'm going to be traveling around for the next 2 weeks. My plan is to use rsync and SSH keys to backup a bootable copy of the Snow Leopard Macbook to a MacMini ...
5
votes
4answers
4k views

SSH to computer with shared public IP and no admin rights over the router

I live in a student dorm (off-campus) and all students of the dorm share the same WAN IP (Internet or public IP), which is fortunately static. I am not an admin and have no control over the router ...
0
votes
3answers
1k views

change konsole-profile according to application in KDE

Using the Konsole terminal-emulator with KDE on Kubuntu 9.10 , I would like to have a different konsole profile (colors, icons) whenever I ssh into a server, so I can easily spot in which konsole tab ...
0
votes
2answers
2k views

Linux SSH client for iPhone

Is there any good SSH client for iphone on Linux OS? I really need one; ssh on Terminal does not really help me that much.
1
vote
3answers
1k views

Does anyone have tips for using the linux text-editor joe? is it available on ssh?

I found a few great features in the joe text editor for the command window: You can: Keep the command help menu visible all the time. Split the current view into two panes (top, bottom) so that ...
4
votes
5answers
6k views

How can I suppress /etc/issue without losing error messages?

Is it possible to tell the ssh client to not print the connects of /etc/issue to stdout when connecting to a remote host, but to print out any other diagnostic (e.g. error) messages? Either using ssh ...
2
votes
1answer
585 views

Facebook with Ruby on Rails

I'm trying to follow the Facebooker tutorial (for Ruby on Rails) but I can't get the ssh tunnel running: Bring up your terminal again. You need to start your local development server, and then make ...
30
votes
7answers
166k views

How to upload a file from the command line with FTP or SSH?

I have never done this before and I am creating a bash shell script to do this for me. I will also be connecting via ssh to do some things (which I already know how to do). So maybe there is a way to ...
0
votes
1answer
959 views

Expected FS format ‘2’; found format ‘3’

I've seen a good amount of articles dealing with older svn versions hitting this problem, but my situation is as follows. I am using Subversion 1.6.6 I have 'versions', a mediocre mac svn gui, which ...
7
votes
3answers
11k views

SSH: Can sniffers see where your traffic is tunneling to?

If I set up an SSH tunnel to a remote server, can a man in the middle see the IP address of that server? If we step it up a notch, if the FBI is tracking you (AFAIK I'm not being tracked), can they ...
1
vote
1answer
2k views

How can I get rsync on windows via ssh not to hang?

I have MobaSSH installed on two Windows (XP and Vista) machines. When I do rsync over ssh it often hangs. I've read this happens with cygwin/rsync/ssh (MobaSSH is cygin based). Is there any known fix ...
-2
votes
3answers
305 views

How to query whether SSH is available under Debian?

I'm trying to implement ssh server under a custom Debian-based installation, which has no GUI, and yet no ssh access. How can I know whether SSH is installed, and how can I know whether the firewall ...
1
vote
2answers
2k views

GUI to tunnel VNC over SSH

I tend to log into a lot of remote sites, and typically the setup we have is: the gateway is running OpenWRT with an SSH server, there are client machines behind the NAT running UltraVNC. While I ...
2
votes
2answers
4k views

SSH HTTP tunneling on OS X

On Windows I use PuTTY to tunnel to my home server and tell Firefox to use PuTTY as a proxy. How would I accomplish something similar on my Mac?
0
votes
2answers
490 views

How can I find the TCP fordwarding port on a shell account?

cjb.net offers anonymous surfing through SSH. I connect via PuTTY. However, I typically know on which port my proxy service (squid, polipo, etc) is running. I think I need this port to configure the ...
9
votes
3answers
30k views

How can I create a user with read-only access to all files? (ie root without writing permissions)

For backing up my server, I would like to remotely access it via SSH. To minimize all risks, it want to user a user who only has read access, but to all files, just like root. However, he shouldn't ...
27
votes
10answers
115k views

How to create an ssh connection Terminal shortcut on Mac OS X?

It sucks to open Terminal each time and write a complete SSH command. How can I create an SSH connection Terminal shortcut on Mac OS X 10.6.8 (Snow Leopard)? I also have a custom port to connect to.
1
vote
5answers
963 views

Setting up a machine to use a key over SSH

I am trying to set up a key between my Ubuntu machine and my web server so that I can SSH into it without needing to type a password each time. I have followed the tutorial found here - http://www....
2
votes
3answers
2k views

How to do remote CVS through multiple SSH connections

I know how to use a remote CVS repository where access to the remote server is through SSH. Here's my problem: the remote CVS server, call it "A" is accessible by SSH only from computers within the ...
3
votes
1answer
2k views

putty correct translation on ubuntu 8.04

I use a lot Midnight Commander on a Ubuntu 8.04 machine, through PuTTY. To see correct lines drawn on the screen by mc, which sends line drawing characters in UTF-8, I configure PuTTY's translation ...
0
votes
1answer
2k views

SSH (secure shell) access with apache on Windows

Is it possible (and how if it's possible) to setup secure shell access to Apache? Apache is installed on my local computer (Windows)? I have SSH access in my hosting account, but I need it on my ...
1
vote
4answers
317 views

How to see a Firefox download with a SSH connection?

Is it possible to consult the state of progress of a Firefox (http) download with a SSH connection? When I log to an new TTY, is it possible to see a Process who's the Firefox download with a percent ...
5
votes
1answer
19k views

How do I remove SSH key passphrases from being remembered by Mac OS?

Mac OS X (Snow Leopard). I accidentally selected the "remember password in my keychain" option when providing the ssh private key passphrase when connecting to a remote server. Now, when I ssh to ...
13
votes
4answers
8k views

Use a device over SSH?

I have 2 PCs with Ubuntu at home and a network link between them. If I do $ sshfs pc2root@192.168.0.2:/ /media/pc2 can I use a remote device as a local one? (in this case: /media/pc2/dev/sr0 as a ...
2
votes
2answers
893 views

Fastest method for windows->linux command line control

What is the fastest method to get at a linux CLI in windows? (See this earlier question on StackOverflow.) Basically my goal is to use a batch file in windows to control various things on my ubuntu ...
4
votes
1answer
13k views

Git remote add doesn't work

I'm trying to add a remote server from my git bash prompt with something like: git remote add origin ssh://myserver.pair.com/usr/home/myname/myrepo.git fatal: Not a git repository (or any of the ...
8
votes
8answers
28k views

How can I provide a SSH password to SVN on the command line?

In my case, I want to do a SVN checkout: svn co svn+ssh://10.106.191.164/home/svn/shproject However, I want to have the password in that one line, so that it doesn't pop up.
1
vote
4answers
8k views

How do I copy files from a Unix server to a Windows client with SSH?

I have connected to a Unix server using SSH from my terminal from my Windows client. How do I copy files from the Unix server to the Windows client? Can I use the scp and rcp commands? Or are there ...