'ssh netconf : subsystem request failed on channel 0

I'm trying to connect from one server to the other using netconf and ssh.

I'm trying to use the command :

ssh -s user@ipaddress netconf

It gives a message regarding ECDSA key fingerprint and also :

Are you sure you want to continue connecting (yes/no/[fingerprint])?

After entering "yes", it prompts for the other server's user's password, after entering the right password, it gives the error

subsystem request failed on channel 0


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source