Connect only to a specific electrum-server instance

electrum

electrum -p socks5:{{127.0.0.1}}:9050 -s {{56ckl5obj37gypcu.onion}}:50001:t -1

click the source code to copy install electrum on any operating system with command-not-found.com