T
theoryboy
I'm writing a Java application that includes uploading a number of
files using scp. I am using the j2ssh library for this. For the most
part, it works fine but the validation of known hosts seems to be
faulty.
If I ssh to the host in question from a regular shell, it connects
without comment using the key pairs found in $HOME/.ssh. Using j2ssh,
however, I get (amongst the other output)
The host <host name and IP address deleted> is currently unknown to the
system
The host key fingerprint is: 1024: cc d0 4a 39 a7 d7 f1 6b f2 b2 55 a7
f0 8c 54 56
Always option disabled, host file is not writeable
(It reports the hostname and IP address properly in the <> bit)
I've started to look at the source code to look at what might be
causing this, but I was hoping somebody had seen it before and could
help me out.
Any thoughts?
Thanks,
Peter
files using scp. I am using the j2ssh library for this. For the most
part, it works fine but the validation of known hosts seems to be
faulty.
If I ssh to the host in question from a regular shell, it connects
without comment using the key pairs found in $HOME/.ssh. Using j2ssh,
however, I get (amongst the other output)
The host <host name and IP address deleted> is currently unknown to the
system
The host key fingerprint is: 1024: cc d0 4a 39 a7 d7 f1 6b f2 b2 55 a7
f0 8c 54 56
Always option disabled, host file is not writeable
(It reports the hostname and IP address properly in the <> bit)
I've started to look at the source code to look at what might be
causing this, but I was hoping somebody had seen it before and could
help me out.
Any thoughts?
Thanks,
Peter