Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Unix&Linux>>ssh - don't want to use password

ssh - don't want to use password

BC Killer Panda
05-05-2005, 02:49 PM
Hi,
I'm trying to set up an automatic data transfer with rsync and ssh and eventually run it with cron.
the rsync and ssh work fine but I have problems bypassing the password that ssh asks for.
I'm not an experience unix user and I get spontaneously dyslectic every time I have to open a man page, and I'm getting very frustrated over all different config files and authorization keys. Does anybody know of a step by step idiot instructions?

I did generate a key on my computer with key-gen and made a .pub copy to the remote machine in ~/.ssh, there I renamed it to autarization_key2 when that did not work I skipped the 2 and it still did not work. In the machine I'm trying to move data from ("my computer") I made a config file under ~/.ssh with the following content:

Host remotehost
User root
Compression yes
Protocol 2
RSAAuthentication yes
StrictHostKeyChecking no
ForwardAgent yes
ForwardX11 yes
IdentityFile /root/.ssh/remotehost.id_dsa

I found some ssh stuff under /etc but i was told not to bother about them, is this correct? ignore the ssh_config, hostconfig etc?
Any information in the subject will be appreciated (unless I'm told to go back and read the man-page, I've heard that enough today...)

hayne
05-05-2005, 03:01 PM
Search for SSH on the main macosxhints site and you will find detailed instructions about setting this up. Plus you will find mention of some GUI utilities that make it easier.

DarrellGreenwood
05-05-2005, 06:24 PM
Try http://www.macwrite.com/criticalmass/secure-shell-mac-os-x-part-1.php

Cheers,

Darrell

BC Killer Panda
05-06-2005, 01:24 PM
Thanks! It works now!
It is pretty easy once you know how to do it ... :o


 

TOP

Windows Server Outsell
Unix Signals And C++ E

For more info

Unix Signals And C++ E
Windows Server Outsell
ssh setup for password
Bash script does not w
esc code 
ARD send unix command 
question about binarie
Scanning mail 
Issuing multiple comma
How do I install Linux

News Archive

/etc/hosts? 
Manually Start a Start
mounting missed hard d
Using Netinfo in Singl
darwin/bsd login probl
system_profiler and fi
Send mail from script 
mounting a drive 
OS X disk first aid ha
system.log shows steal

Related stories:

How to set environment variables and path in 10.4?
problem installing Fink
pkg-config & PKG_CONFIG_PATH
Applescript: Hide Process
help with installing py-gnome (darwinports)
Mozilla install from dports fails
Escaping quotes in Tiger

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics