I'm trying to set up ssh, so I dont have to enter a password or passphrase when connecting to a box.. ( not that it really bothers me. but goal of all this is so i can create a script and pull off files from a few computers via scp )..
I have created the id_dsa & id_dsa.pub, and copied the *.dsa file to the remote(HOST) computer, placed it in the /home/.ssh dir with a name of authorized_key2
Once this was done, I could connect from my computer to the remote(HOST -- in my bedroom. not really remote) via ssh. but it would ask for the passphrase.. not the password. so I think it is working half way.. (it did accept my passphrase. and let me into the system).
I was not alrmed the first time, because it seems that is normal the first time you connect. But the weird part is. that it has never stops asking. everytime I connet. it ask for the passphrase.
Any Idea on how I can get around this.. because when I try the scp file. it has no way of entering the passphrase. it will be a cron job.
This is on a SuSE 7.3 box
Here is a copy of my /etc/ssh/ssh_config file:
# $OpenBSD: ssh_config,v 1.10 2001/04/03 21:19:38 todd Exp $
# This is ssh client systemwide configuration file. See ssh(1) for more
# information. This file provides defaults for users, and the values can
# be changed in per-user configuration files or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.
# Site-wide defaults for various options
Host *
# ForwardAgent no
# ForwardX11 no
# RhostsAuthentication no
# RhostsRSAAuthentication yes
# RSAAuthentication yes
# DSAAuthentication yes
# PasswordAuthentication no
# FallBackToRsh no
# UseRsh no
# BatchMode no
# CheckHostIP yes
# StrictHostKeyChecking yes
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_dsa
# IdentityFile ~/.ssh/id_rsa
# Port 22
Protocol 1,2
# Cipher blowfish
# EscapeChar ~
I have created the id_dsa & id_dsa.pub, and copied the *.dsa file to the remote(HOST) computer, placed it in the /home/.ssh dir with a name of authorized_key2
Once this was done, I could connect from my computer to the remote(HOST -- in my bedroom. not really remote) via ssh. but it would ask for the passphrase.. not the password. so I think it is working half way.. (it did accept my passphrase. and let me into the system).
I was not alrmed the first time, because it seems that is normal the first time you connect. But the weird part is. that it has never stops asking. everytime I connet. it ask for the passphrase.
Any Idea on how I can get around this.. because when I try the scp file. it has no way of entering the passphrase. it will be a cron job.
This is on a SuSE 7.3 box
Here is a copy of my /etc/ssh/ssh_config file:
# $OpenBSD: ssh_config,v 1.10 2001/04/03 21:19:38 todd Exp $
# This is ssh client systemwide configuration file. See ssh(1) for more
# information. This file provides defaults for users, and the values can
# be changed in per-user configuration files or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.
# Site-wide defaults for various options
Host *
# ForwardAgent no
# ForwardX11 no
# RhostsAuthentication no
# RhostsRSAAuthentication yes
# RSAAuthentication yes
# DSAAuthentication yes
# PasswordAuthentication no
# FallBackToRsh no
# UseRsh no
# BatchMode no
# CheckHostIP yes
# StrictHostKeyChecking yes
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_dsa
# IdentityFile ~/.ssh/id_rsa
# Port 22
Protocol 1,2
# Cipher blowfish
# EscapeChar ~
Remove Passphrase From Ssh Key
- Jan 17, 2017 Method #1: Fix when macOS keeps asking ssh passphrase after updated to Sierra or after reboots. You need to use the UseKeychain option in your /.ssh/config file. From the sshconfig man page: On macOS, specifies whether the system should search for passphrases in the user’s keychain when attempting to use a particular key.
- Apr 13, 2016 I believe ssh-agent is caching your private key passphrase locally. If you quit Terminal, iTerm, or whatever terminal application you use,.after. you ssh to a server using your private key (and.
- Ssh passphrase issues - Mac OS X ssh passphrase permissions issues I will try to be as thorough as possible, but keep in mind I am a designer, not a programmer. I do have linux mdadm experience and am reasonably comfortable behind the terminal, but I may need things to be spelled out for me.
Os X Ssh Asking For Passphrase Windows 10
I have generated an ssh public/private key pair with a passphrase on the server and uploaded the public key to bitbucket. Dvdfab for mac sierra download. Ordinarily when I would perform pushes and pulls on my local OS X system, I would do it through a window in Terminal.app, and I use OS X's keychain to handle my ssh passphrase so that I only have to type it in once per login.