SSH is program to open a connection between a local router or switch and a remote system and execute commands on the remote system. You can issue the ssh command from the Junos OS CLI to log in to a remote system or from a remote system to log in to the local router or switch.
ssh
This KB provides steps to resolve common issues associated to SSH on JUNOS
Possible issues:
The following steps assist resolving SSH issues on JUNIPER devices:
>start shell user root% ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
You will see this message:
Generating public/private dsa key pair./etc/ssh/ssh_host_dsa_key already exists.Overwrite (y/n)? >>>select yes%ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_keyGenerating public/private dsa key pair./etc/ssh/ssh_host_dsa_key already exists.Overwrite (y/n)? >>>select yes