Forum Discussion
Nick_T_68319
May 11, 2012Nimbostratus
tmsh sshd banner-text multi line
I used to be able to do this with bigpipe, but now I can't figure out how to make a multi line banner text. Can anyone point me in the right direction?
Hitesh_Patel_34
May 12, 2012Historic F5 Account
Hi Nick,
This should get you going:
[root@ve4:Active] config tmsh
root@ve4(Active)(/Common)(tmos) edit /sys sshd all-properties
The command above will open the config section in the 'vim' editor. It will look like this:
modify sshd {
allow replace-all-with { ALL }
banner disabled
banner-text none
description none
inactivity-timeout 0
include none
log-level info
login enabled
}
You want to modify it to look like this:
modify sshd {
allow replace-all-with { ALL }
banner enabled
banner-text "Multi
Line
Banner"
description none
inactivity-timeout 0
include none
log-level info
login enabled
}
To save hit ESC twiced they type :wq
Then type a 'y' to confirm the changes in tmsh
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects