Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

omg... Many apologies! I don't understand how I misread this and misunderstood prompt for banner. Must have been tunnel vision as I was missing a monospaced font for the banner and I only saw what I wanted to see.
martin

Re: Monospace font for 'server prompt' window?

martin wrote:

vodoomoth wrote:

I have created a test account on my server. You can send me a PM for the details.

Thanks. I've sent you an email to the address you have used to register on this forum.

It's actually not a prompt, but a banner, so not what this thread is about.
But anyway, this has been added to the tracker:
https://winscp.net/tracker/1588
martin

Re: Monospace font for 'server prompt' window?

vodoomoth wrote:

I have created a test account on my server. You can send me a PM for the details.

Thanks. I've sent you an email to the address you have used to register on this forum.
vodoomoth

Re: Monospace font for 'server prompt' window?

martin wrote:

I would not like to make monospace font default. But it can be optional. Or WinSCP can try to autodetect need to use monospace font somehow.

Any chance of getting a test account on your server?


I have created a test account on my server. You can send me a PM for the details.
g.synedra

i second that monospaced font should be used in the server prompt.

we use figlet inside our banners and those get mixed up as well.
ADTC

Workaround

Until this feature is added, a simple workaround would be to copy the text to Notepad or something monospaced :) Assuming that you can actually copy it from the WinSCP window, of course.
martin

Inuya5ha wrote:

Now that we are on the fonts topic, the Enter Command text box from the Console window should use a monospace font as well, just like the log window which is now using Lucida Console.

Thanks for your suggestion. Will see if more people ask for it.
Inuya5ha

Now that we are on the fonts topic, the Enter Command text box from the Console window should use a monospace font as well, just like the log window which is now using Lucida Console.
martin

Re: Monospace font for 'server prompt' window?

Anonymous wrote:

If this is not working for you, please let me know and I'll setup a test VM.

That would be great!
Guest

Re: Monospace font for 'server prompt' window?

Missed one line:

wget <invalid hyperlink removed by admin>
cd /opt
tar xfz /tmp/pam_captcha-1.5.tar.gz
apt-get install libpam0g-dev
apt-get install figlet
make
cp pam_captcha.so /lib/security/.
vim /etc/pam.d/sshd
--&amp;gt; add first line
auth requisite pam_captcha.so math dda randomstring
vim /etc/ssh/sshd_config
--&amp;gt; add / unremark
PasswordAuthentication no
ChallengeResponseAuthentication yes
Guest

Re: Monospace font for 'server prompt' window?

martin wrote:

I would not like to make monospace font default. But it can be optional. Or WinSCP can try to autodetect need to use monospace font somehow.


All sound good to me...

martin wrote:

Any chance of getting a test account on your server?


Unfortunately access to a production server is not possible. Setup on Ubuntu, on a root prompt:

//==========================================================================
wget <invalid hyperlink removed by admin>
cd /opt
tar xfz /tmp/pam_captcha-1.5.tar.gz
apt-get install libpam0g-dev
apt-get install figlet
make
cp pam_captcha.so /lib/security/.
vim /etc/pam.d/sshd
--> add first line
auth requisite pam_captcha.so math dda randomstring
vim /etc/ssh/sshd_config
--> add / unremark
PasswordAuthentication no

ChallengeResponseAuthentication yes
//==========================================================================

If this is not working for you, please let me know and I'll setup a test VM.

Cheers,

Jeroen
martin

Re: Monospace font for 'server prompt' window?

I would not like to make monospace font default. But it can be optional. Or WinSCP can try to autodetect need to use monospace font somehow.

Any chance of getting a test account on your server?
Guest

Monospace font for 'server prompt' window?

Hi,

Some server I want to connect to use a ASCII-based CAPTCHA <https://github.com/jordansissel/pam_captcha>. This workd fine with tools like ssh and putty. However WinSCP uses a non-monospace font which screws up the CAPTHA. Is it possible to use a monospace font in the 'server prompt' window to fix this? Thanks in advance!

Cheers,

Jeroen