logging via ssh question

Ask questions about Arch Linux ARM. Please search before making a new topic.

logging via ssh question

Postby TheDurtch » Sun May 27, 2012 9:01 pm

when i login to my ubuntu box using ssh it shows this:
$this->bbcode_second_pass_code('', 'Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-24-generic x86_64)

* Documentation: https://help.ubuntu.com/

System information as of Sun May 27 14:24:47 MDT 2012

System load: 1.57 Processes: 118
Usage of /: 14.2% of 591.56GB Users logged in: 0
Memory usage: 3% IP address for eth0: 192.168.X.X
Swap usage: 0%

Graph this data and manage this system at https://landscape.canonical.com/

42 packages can be updated.
0 updates are security updates.

*** /dev/mapper/ubuntu-root will be checked for errors at next reboot ***

Last login: Wed May 23 09:23:57 2012 from ubuntu
')

i like how it gives me that info on login is there a way to get arch to do this?
TheDurtch
 
Posts: 28
Joined: Wed May 02, 2012 2:59 pm

Re: logging via ssh question

Postby TheWalt » Mon May 28, 2012 3:20 pm

Ubuntu runs some scripts to compile the information that is then posted via MOTD.

Archey3 is what other ArchLinux based systems run to get similar stats.
TheWalt
 
Posts: 23
Joined: Fri Feb 17, 2012 12:22 am

Re: logging via ssh question

Postby TheDurtch » Tue May 29, 2012 12:52 am

ok thank got that to work how to i get it to display it on login
TheDurtch
 
Posts: 28
Joined: Wed May 02, 2012 2:59 pm

Re: logging via ssh question

Postby TheWalt » Tue May 29, 2012 2:05 am

Add the archey command to your .bashrc so it runs for whatever user(s) you want to see it. :D
TheWalt
 
Posts: 23
Joined: Fri Feb 17, 2012 12:22 am

Re: logging via ssh question

Postby TheDurtch » Tue May 29, 2012 2:42 am

thanks
TheDurtch
 
Posts: 28
Joined: Wed May 02, 2012 2:59 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 11 guests