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
1
vote
1answer
343 views

How can I setup SSH Tunneling with AT&T on OS X

It has been suggested to me to try using SSH Tunneling to try and improve my internet connection and make it more reliable in my apartment. I am running OS X Snow Leopard and the internet provided ...
5
votes
4answers
2k views

How to disable Snow Leopard's Terminal annoying dialog before opening ssh:// links?

10.6 came with a lame feature where it shows a dialog whenever you click a ssh:// link, saying: Terminal is opening a ssh connection to 1.2.3.4 for Safari. Do you want to allow this? This will reveal ...
1
vote
3answers
256 views

trouble to connecting to remote file system using sshfs

I'm a first time user of sshfs, trying to use it to give myself access to a remote file system. $ sudo sshfs username@servername.edu:/home/csg/username/low /local/servername When I issue this ...
32
votes
5answers
33k views

Bypass ~/.profile on remote login to a linux server

Is there a way to bypass or prevent the execution of ~/.profile when logging into a remote Linux server using either ssh or putty?
3
votes
3answers
4k views

Creating an ssh-key just for mercurial pulls/clones

I want to make an ssh key (passwordless) that I can hand out to remote users so they can do an hg pull or hg clone of my repositories. I've gotten as far as making an ssh key that uses only the ...
2
votes
3answers
8k views

Configuring IE to resolve DNS at the proxy rather than locally

With the intention of tunneling web traffic through an SSH connection, the following has been done: I've manually configured a PAC file in IE7 in the LAN Settings dialog. I've verified that traffic ...
0
votes
1answer
2k views

enable ssh access to a remote server at home router and modem

I just built this home wireless network with a Linksys WRT54GL router and a Motorola SBG900 Wireless Cable Modem Gateway (which by itself is a modem as well as a router, but I just wanted to use it as ...
6
votes
4answers
2k views

Keeping working directory across ssh

I have a large number of Linux machines all of which mount my home directory over NFS. If I'm in ~/foo/bar/baz I'd like to be able to ssh to another machine and automatically start using that as my ...
103
votes
8answers
127k views

How do I make Bash my default shell on Ubuntu?

I have a .bash_profile in my home directory, but it isn't getting run on login. If I do the following, then things seem to be as I expect: ssh myhost bash source ~/.bash_profile But normally that ...
1
vote
4answers
2k views

SSH tunneling in an airport

being at home, I know how to establish ssh tunnels between the work gateway. The main thing is for the gateway, to be able to establish a ssh connection with my machine at home. I do this setting the ...
1
vote
1answer
7k views

How to change sshd listening port on Mac OS X?

I want to change the default port for sshd daemon in Mac OS X 10.6 Changing the sshd_config file seems to be useless, I suppose becouse of sshd is started by launchd. I'm looking for the real ...
0
votes
2answers
503 views

Is it possible to hijack X server of a process?

Is there a way to SSH to a machine and forward the X of already running process to my SSH client (as if I launched this process via SSH with X forwarding)?
1
vote
3answers
354 views

Unable to connect to some websites and scp files

I am on Ubuntu 9.04 and am unable to scp files from my computer to a server. On the other hand, I am able to scp files from the server to my computer. I suspect some ports are blocked on the the ...
1
vote
3answers
8k views

Ubuntu Server editing file from command line

First attempts at a linux distro. Trying to run JeOS as a virtual machine on my mac with vmware fusion. Installed ubuntu server 9.04 minimal virtual machine. Installed ssh. Installed VMwareTools. ...
5
votes
1answer
16k views

PuTTY and Remote Desktop

I recently needed to access a Windows machine with Windows Remote Desktop, but I was unable to connect due to a firewall on the network. (While on the network, I have successfully connected to the ...
2
votes
2answers
7k views

sshfs equivalent for windows? [closed]

At my university, I want to be able to set up a file-server in my room. The only allowed ports/protocols are SSH and RDP. All others are blocked. I can set up the server just fine, and connect to it ...
2
votes
2answers
2k views

How do I connect from a utf-8 client to a latin1 server over ssh?

I have a fresh Ubuntu install and I want to connect over ssh in a gnome-terminal. The server uses latin1 (All files etc. are latin1), so I want to use that in the session. I have changed the charset ...
16
votes
4answers
8k views

Induce Mac graphical login from SSH

How do I induce the Mac graphical login from SSH? Is there a way to make the loginwindow process start a user session by running a command when remotely logged in via SSH as an admin on Mac OS X? ...
6
votes
3answers
7k views

git-receive-pack : command not found

I made a git repo on a local machine with "git init --bare" and added it as the remote origin on the project on my main computer with ssh: git add remote origin git@192.168.1.14:repoName.git I was ...
0
votes
2answers
281 views

SCP Error - .+i+;I:

What does .+i+;I: mean with scp? I'm trying to transfer a file from my laptop (OSX 10.6) to my school's linux server (RedHat 5). Ssh works normally with a public key but when I try to transfer a file ...
237
votes
15answers
182k views

How to reliably keep an SSH tunnel open?

I use an SSH tunnel from work to go around various idotic firewalls (it's ok with my boss :)). The problem is, after a while the ssh connection usually hangs, and the tunnel is broken. If I could at ...
2
votes
2answers
909 views

Connect using ssh by key fingerprint

I have an SSH server set up on a machine which, unfortunately, changes its IP address quite often due to DHCP. I've worked around it with a small script which iterates over all the addresses for a ...
1
vote
2answers
773 views

How is non-HTTP traffic handled while running Firefox through an SSH tunnel?

I have configured Firefox to run through an SSH tunnel via SOCKS5 so that all HTTP traffic is encrypted. What happens if I am watching a video streaming over RTMP or opening an FTP site? Is this ...
3
votes
1answer
6k views

How to set up Ssh/Sshd for key-based login under Cygwin (Vista) with StrictModes yes

I have successfully set up ssh and sshd under cygwin to allow myself to login from A to B and B to A (both A and B are Vista machines). To do this, I have had to set StrictModes no in my /etc/...
0
votes
2answers
5k views

how do I copy files from a remote host to my computer?

I am trying to use the following command: $ scp remoteusername@host:$HOME/fileiwanttocopy /my/local/comp I woould like for home to be evaluated on the remote host instead of my computer (which it is ...
8
votes
4answers
14k views

Putty Authentication on Mac OS X?

On my Windows development machine, I use Pageant with a secret key to authenticate with an SVN server. I want to know: what's the equivalent Mac process for doing this? Pageant isn't ported, how do I ...
28
votes
5answers
26k views

sshfs mount without compression or encryption

I am a very frequent user of sshfs for mounting various disks over the network. I do however have a very small machine (with an atom processor) from which I need to mount a directory using sshfs. Is ...
1
vote
5answers
2k views

What is the best way to perform daily/weekly/monthly backups?

I am currently running a script in leopard every few days to make sure I have backed up my data on a remote server using: #!/bin/bash rsync -avvz ~/Documents ~/Workspace -e ssh admin@myhost.com:~/...
131
votes
11answers
400k views

Remove key from known_hosts

I built several virtual machines during the last few weeks. The problem is, the .ssh/known_hosts gives me the Man in the middle warning. This happens because another fingerprint is associated with the ...
12
votes
1answer
3k views

How do I make OS X set the terminal title back to the original title when coming back from ssh?

Starting on OS X, I ssh into foo (a Linux box). My terminal title changes to foo. I then ssh into bar (another Linux box). My terminal title changes to bar. I log out of bar. My terminal title ...
7
votes
4answers
3k views

VNC connection from Windows to Mac drops immediately

This tutorial describes in detail how to setup a remote desktop from Windows to a Mac using putty tools and VNC. However, my connection is immediately dropped after authentication. (i.e. tunneling ...
0
votes
1answer
807 views

SSH login without password [duplicate]

Possible Duplicate: How do I set up SSH so I don’t have to type my password? You don't want to type your password when you ssh into a machine. What can you use to accomplish this? Are ...
1
vote
1answer
191 views

What SSH server software for Windows support direct screen access applications?

SSH for Windows does not support applications that implements direct drawing to the terminal screen buffer (like FAR Manager I mostly interested in using with SSH). What other SSH servers supports ...
12
votes
9answers
52k views

Running commands on Putty without fear of losing connection

How do you use the "screen" command effectively? Is it: Type "screen" Type in command Lose connection Check back on lost session How do I carry out step 4?
0
votes
5answers
8k views

Reset SSH password on DroboShare

Today, I started toying around with installing DroboApps on my DroboShare. I first installed the Drobo Admin Utility, which allowed me to simply install Dropbear SSH so that I can ssh into my ...
358
votes
4answers
91k views

What is randomart produced by ssh-keygen?

When you generate a key, you get "randomart" from newer versions of OpenSSH. I am unable to find an explanation of why, and what I'm supposed to use it for. Generating public/private rsa key pair. ...
6
votes
5answers
10k views

How can I get the comment of the current authorized_keys ssh key?

Edit: What I really need to know WHICH ssh key from authorized_keys has been used to identify the currently logged on user. According to "man sshd": Protocol 2 public key consist of options, keytype,...
2
votes
4answers
2k views

brute force password guessing on SSH server isn't going to work?

I'm running an SSH server on my personal computer. The log had many people(or bots?) repeatedly trying to log in to my server (that is before I changed the default port), which made me a little ...
2
votes
5answers
3k views

Setting up an SSH Server on Port 80

I'd like to set up an SSH Server to the public internet on port 80. I've got SSH for Windows installed on my machine, and I can use Putty to SSH into localhost. In my router config, I set up a "...
8
votes
2answers
17k views

Colors in ssh connection

I have a colorful bash terminal (e.g. ls and vim show colors when configured to do so). How can I have these colors when connecting to a remote server via ssh?
15
votes
1answer
9k views

Why does my remote process still run after killing an ssh session?

I'm tailing a remote logfile by running this command in a local shell: ssh remotemachine tail -100f /path/to/error_file When I ctrl-c out of this command, it seems that the ctrl-c kills the local ...
0
votes
2answers
1k views

Can I use SSH port forwarding to connect via RDC to a Windows VM setup to use NAT?

I have the following, totally bizarre, please don't ask, setup: AirPort router iBook running Virtual PC connected to AirPort MacBook running RDC connected to AirPort A Windows XP VM running on ...
3
votes
5answers
7k views

Is there a way to SSH or otherwise view an iPhone's files without jailbreaking it?

I have an app on my iPhone that no longer works (it loads to splash screen then quits), but I have some files on there. Is there any way for me to pull these files off through FTP/SSH/Finder (I don't ...
16
votes
8answers
38k views

How do I skip the “known_host” question the first time I connect to a machine via SSH with public/private keys? [duplicate]

How do I skip the "known_host" question the first time I connect to a machine via SSH with public/private keys?
9
votes
4answers
8k views

How can I set my computer up for remote SSH access?

I have a Linux machine that I can access by SSH from my laptop when I am inside my house, but when I am using another Internet connection, I can't connect. What do I need to do? I have Verizon DSL ...
35
votes
2answers
18k views

Is it a bad idea to use the same private ssh key on multiple computers?

I recently bought a laptop from which I need to access the same remote hosts that I do from my desktop. It occurred to me that it might be possible to simply copy the private key file from my desktop ...
2
votes
2answers
2k views

Make Evolution go through a SOCKS proxy

I use Evolution for email when I'm on Linux. Most of the apps follow with GNOME's proxy setting, but Evolution does not do SOCKS proxies. Right now my proxy is simple SSH forwarding. The SOCKS host ...
7
votes
1answer
4k views

Purpose of username in OpenSSH public key file?

Let's say that my username is user and my computer name is cmp. I notice they are also part of my SSH public key: user@cmp:~/.ssh$ ls config id_rsa id_rsa.pub known_hosts user@cmp:~/.ssh$ cat ...
1
vote
4answers
485 views

How do I connect to an SSH server from Ubuntu?

I've been given this information (changed to protect the innocent): Hostname: secret_server.homeserver.org Port: 4033 Username: user Password: $ecrectP#ras3 Protocol: scp I don't have to have a nice ...
0
votes
4answers
1k views

Created a key using SSH keygen, can't see the folder using filezilla

I created an ssh key using: ssh-keygen -t dsa But when I use FileZilla (FTP) to my server, I can't see the .ssh folder or files. I even tried moving the id_dsa file to another folder but I still can'...