<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Adding better pfsense SSHD navigation…....Updated]]></title><description><![CDATA[<p dir="auto">This may help people out there navigate in ssh better.<br />
This mod will add the time/user/current directory to your terminal prompt in color.  Example: <strong>[12:29pm]root@/root#</strong><br />
The mod will survive a pfsense reboot.</p>
<p dir="auto"><strong>Backup .cshrc before starting</strong><br />
Edit .cshrc type:<br />
<strong>ee /root/.cshrc</strong><br />
Only change the highlighted code after <strong>set prompt =</strong><br />
After editing type:<br />
<strong>source /root/.cshrc</strong><br />
Make the mod survive a pfsense reboot. type:<br />
<strong>cp /root/.cshrc /root/.tcshrc</strong><br />
.<br />
<strong>ee .cshrc</strong><br />
#=========start of code=========<br />
alias h         history 25<br />
alias j         jobs -l<br />
alias la        ls -a<br />
alias lf        ls -FA<br />
alias ll        ls -lA</p>
<h1><a class="anchor-offset" name="a-righteous-umask"></a>A righteous umask</h1>
<p dir="auto">umask 22</p>
<p dir="auto">set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)</p>
<p dir="auto">setenv  EDITOR  ee<br />
setenv  PAGER   more<br />
setenv  BLOCKSIZE       K</p>
<p dir="auto">if ($?prompt) then<br />
        # An interactive shell – set some stuff up<br />
        <strong>set prompt = "%{\e[1;37m%}[%t]%n@%{\e[0;31m%}%/%{\e[0m%}%{\e[1;37m%}# "[/b]<br />
        set filec<br />
        set history = 100<br />
        set savehist = 100<br />
        set mail = (/var/mail/$USER)<br />
        if ( $?tcsh ) then<br />
                bindkey "^W" backward-delete-word<br />
                bindkey -k up history-search-backward<br />
                bindkey -k down history-search-forward<br />
        endif<br />
endif<br />
#=========end of code=========</strong></p>
]]></description><link>https://forum.netgate.com/topic/5718/adding-better-pfsense-sshd-navigation-updated</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 02:04:03 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/5718.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 09 Sep 2007 19:44:13 GMT</pubDate><ttl>60</ttl></channel></rss>