[deleted]
env
jean-michel@ bidule ~ % hostname
bidule
jean-michel@ bidule ~ % cat /etc/hostname
bidule
jean-michel@ bidule [1] ~ % cat /etc/66/boot.conf | grep HOSTNAME
# # Set the HOSTNAME.
HOSTNAME=bidule
Issue
Use $(hostname) or $(hostname -f) as value for hostname.
jean-michel@ bidule ~ % ssh-keyscan $(hostname)
getaddrinfo bidule: Device or resource busy
getaddrinfo bidule: Device or resource busy
getaddrinfo bidule: Device or resource busy
jean-michel@ bidule [1] ~ % ssh-keyscan $(hostname -f)
getaddrinfo bidule: Device or resource busy
getaddrinfo bidule: Device or resource busy
getaddrinfo bidule: Device or resource busy
Expected
Print the rsa host key for machine hostname
Info
To be clear it's not an ssh-keyscan issue but something else on the system that I'm not able to identify.
jean-michel@ bidule ~ % hostname
bidule
jean-michel@ bidule ~ % cat /etc/hostname
bidule
jean-michel@ bidule [1] ~ % cat /etc/66/boot.conf | grep HOSTNAME
# # Set the HOSTNAME.
HOSTNAME=bidule
Issue
Use $(hostname) or $(hostname -f) as value for hostname.
jean-michel@ bidule ~ % ssh-keyscan $(hostname)
getaddrinfo bidule: Device or resource busy
getaddrinfo bidule: Device or resource busy
getaddrinfo bidule: Device or resource busy
jean-michel@ bidule [1] ~ % ssh-keyscan $(hostname -f)
getaddrinfo bidule: Device or resource busy
getaddrinfo bidule: Device or resource busy
getaddrinfo bidule: Device or resource busy
Expected
Print the rsa host key for machine hostname
Info
To be clear it's not an ssh-keyscan issue but something else on the system that I'm not able to identify.