How to connect the server using public/private key

Discussion of the COZBATCH utility for z/OS
Post Reply
lionwang
Posts: 1
Joined: Wed Nov 09, 2016 12:47 pm

How to connect the server using public/private key

Post by lionwang »

I have generated the public/private key in OMVS. please see below.

CLMVS3:/u/hzv2mf/.ssh$ ls
id_dsa id_rsa known_hosts put
id_dsa.pub id_rsa.pub prng_seed

will you please let me know how to connect the server using public/private key without the PASSWD. My client provide the USER and SERVER but no PASSWD, they ask me to do the connection using the public/private key.
Below is the STDIN of COZBATCH.

set -x
env $PATH
coz_bin="/usr/lpp/coz/bin"
remoteuser="clmpg???"
server="57.14.17.??"
export SSH_ASKPASS=$coz_bin/read_passwd_dsn.sh
export DISPLAY=none
export SFTP_ZOS_OPTIONS=NOSMF \

thanks.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: How to connect the server using public/private key

Post by dovetail »

Post Reply