Comments (14)
Hi Phil,
thanks, looks like a documentation error. "welcome message" instead of "prompt" should work, I've dropped the "prompt" keyword there.
Thanks,
Marc
from event-driven-servers.
Hi Phil,
sorry, "welcome banner", not "welcome message".
Thanks,
Marc
from event-driven-servers.
Many thanks Marc
I think SecureCRT might have been part of the problem as it was not displaying the the welcome banner correctly. Are you aware of any known issues with truncation of welcome banner text? Also is it possible to serve a custom password prompt?
Kind regards Phil
from event-driven-servers.
Hi Phil,
whether the welcome banner is displayed or not largely depends on the implementation. It may work, or the router drops it, or the SSH client does so. I'm not a SecureCRT user myself, I think both putty and openssh work.
Custom prompts have been on my to-do list for quite some time. I'll have another look at that later.
Best regards,
Marc
from event-driven-servers.
Hi Phil
the answer to "custom prompts" did just changes to "yes".
message PASSWORD = ...
Cheers,
Marc
from event-driven-servers.
from event-driven-servers.
Hi Marc,
I'm not sure which configuration context to place the message keyword in, I tried this ....
host corporate {
address = 0/0
key = {{ key }}
message PASSWORD = "Password: "
}
and got this .....
Nov 28 12:34:13 rocky1 tac_plus-ng[7646]: Error /etc/tac_plus-ng/tac_plus-ng.cfg:62: Expected 'host', 'parent', 'authentication', 'permit', 'bug', 'pap', 'address', 'key', 'motd', 'welcome', 'reject', 'enable', 'anonymous-enable', 'augmented-enable', 'single-connection', 'debug', 'connection', 'context', 'rewrite' or 'script', but got 'message'
kind regards Phil
from event-driven-servers.
Hi Phil,
I've actually implemented this at realm (or default) level, but moving the functionality to host level might indeed be an option. I'll have a look at that.
Thanks,
Marc
from event-driven-servers.
Hi again,
the "message ..." directives should now work in host context.
Cheers,
Marc
from event-driven-servers.
from event-driven-servers.
Hi Marc,
Thanks for the explanation about context, I've tried the following in both default realm and hosts contexts and this is confirmed working for Putty and Rocky Linux ssh clients.
message PASSWORD = "Password"
I have a question about intended behaviour of this feature which relates to a trailing ": " being added to the prompt, is this needed?
Regards Phil
from event-driven-servers.
Hi Phil,
I originally thought that adding the trailing characters would be a good idea. The latest commit drops that idea.
Cheers,
Marc
from event-driven-servers.
Thanks Marc
That'll do nicely, consider this issue closed.
Regards Phil
from event-driven-servers.
Hi Phil,
great, I've been waiting for that, I don't like open issues ;-)
Thanks,
Marc
from event-driven-servers.
Related Issues (20)
- ldapmavis-mt doesn't pass all memberOf groups back to tac_plus-ng HOT 3
- tac_plus-ng doesn't seem to start socket even though service reports up and operational. HOT 6
- tac-plus-ng support google authenticator? HOT 1
- Username+Password+OTP second login fails HOT 6
- tac_plus-ng - CLI context aware - unclear documentation HOT 3
- Migration from tac_plus version F4.0.4.27a HOT 2
- tac_plus-ng dns preload file HOT 6
- Trouble to use MEMBEROF value with my OpenLDAP HOT 6
- Tacacs behind AWS NLB HOT 6
- Sporadic TLS negotiation failures with Mavis LDAP backend HOT 6
- libfreeradius-client has been deprecated in favor of radcli HOT 5
- 编译中出现异常 HOT 2
- the error when i execute './configure tac_plus,'the following errors occurs HOT 1
- Connection refused HOT 3
- tacacs configuration file parsing failed with tac_plus-ng while with tac_plus it's working HOT 3
- tac_plus compile error HOT 1
- chap login failed (no clear text password set) HOT 2
- LDAP vendor lookup fails for Okta LDAP Interface HOT 3
- tac_plus-ng external-mt using libmavis-mt, doesn't fall through to fallback accounts when LDAP unavailable HOT 3
- Support for variable option LDAP sizelimit in libmavis-mt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from event-driven-servers.