Topic "Monospace font for 'server prompt' window?"

Author Message
Guest




Hi,

Some server I want to connect to use a ASCII-based CAPTCHA <http://www.semicomplete.com/projects/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
winscp-captcha.png (41.83 KB) [Download]

Description: putty versus winscp

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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?
_________________
Martin Prikryl
Guest




prikryl 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...

prikryl 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
Guest




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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Anonymous wrote:
If this is not working for you, please let me know and I'll setup a test VM.

That would be great!
_________________
Martin Prikryl
Inuya5ha
[View user's profile]

Joined: 2011-11-25
Posts: 4
Location: Argentina
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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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.
_________________
Martin Prikryl
ADTC
[View user's profile]

Joined: 2013-10-07
Posts: 18
Until this feature is added, a simple workaround would be to copy the text to Notepad or something monospaced Smile Assuming that you can actually copy it from the WinSCP window, of course.
g.synedra

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
This request has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=1153
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License