Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9202

Modifying OpenSSH default Windows prompt

$
0
0

I've just installed OpenSSH on Windows OS based on the following guide.https://winscp.net/eng/docs/guide_windows_openssh_server

This is the standard prompt

Windows prompt

userName@mydomain.net@ServerName c:\Users\userName>  userName@mydomain.net@ServerName c:\Users\userName>

Linux prompt

[root@ServerName ~]# [root@ServerName ~]# 

In Linux, we can easily change this setting by modifying PS1 variable.

[root@ServerName ~]# echo $PS1[\u@\h \W]\$[root@ServerName ~]# 

What about Windows? Default prompt for Windows is too long as I'm using domain user. I would like to simplify it.


Viewing all articles
Browse latest Browse all 9202

Trending Articles