When I make a ssh connection with root account to my desktop using putty and installed some programs. when I list that program type and press doubletab, will complete/list all associated commands.
Ex. Putty - SSH - 192.168.1.5
root@192.168.1.5:~# apt-get install aircrack-ng
root@192.168.1.5:~# ai<TAB><TAB>
airbase-ng aireplay-ng aircrack-ng airmon-ng airdecap-ng airodump-ng airdecloak-ng airtun-ng airdecloak-ng...
Xrdp - session Xorg - 192.168.1.5
root@192.168.1.5:~# air<tab><tab>
aircrack-ng airdecloak-ng
Both are root@192.168.1.5:~#. I need understand this. Other thing its on xfc4-terminal run ssh root@localhost and ssh root@192.168.1.5 do the same thing above respectively.
How can I push command in xfce4-terminal after installed this packages on ssh connection?
Same happens for the history commands. Example:
- SSH Connection: Only shows history of this user in ssh.
- Local connection: Only shows the xfce4-terminal history. Dont show packages installed with ssh session.
I think its a 'session' association?