NetAdminTools.com
 
SignalQ Sites:
NetAdminTools - Coprolite - NoNIC - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - MCJ - FixRambler
Categories:
GNU/Linux | Homebrew designs | Perl | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS | Hail Support


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·REALbasic
·All Categories


SSHD on GIAGD
Topic: GIAGD   Posted:2003-05-26
Printer Friendly: Print

spacerspacer
The uClibc dev system includes SSHD, but you need to set up host keys in /etc first:

[root@crackers /]# ssh-keygen  -t dsa -f /etc/ssh_host_dsa_key
Generating public/private dsa key pair.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /etc/ssh_host_dsa_key.
Your public kkey has been saved in /etc/ssh_host_dsa_key.pub.
The key fingerprint is:
xx:xx:xx:....:xx root@crackers
[root@crackers /]# chmod 600 /etc/ssh_host_dsa_key
[root@crackers /]# chmod 644 /etc/ssh_host_dsa_key.pub

Note that you will need to enable Unix98 PTY support in the kernel. This is under Character devices. You will also need to enable the /dev/pts file system for Unix98 PTYs in the file systems options.

Check out the memory usage and minimal processes running for crackers when one user is logged in as root via ssh. This has the camera module loaded as well:

Mem: 6644K used, 153364K free, 0K shrd, 328K buff, 2756K cached
Load average: 0.05, 0.01, 0.00    (State: S=sleeping R=running, W=waiting)
PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
50 root     R        332    45  0.1  0.2 top
43 root     S       1192    33  0.0  0.7 /usr/sbin/sshd
45 root     S        920    43  0.0  0.5 -sh
33 root     S        880     1  0.0  0.5 /usr/sbin/sshd
1 root     S        336     0  0.0  0.2 init
40 root     S        292     1  0.0  0.1 /sbin/syslogd
41 root     S        276     1  0.0  0.1 /sbin/klogd
39 root     S        244     1  0.0  0.1 /sbin/getty
38 root     S        244     1  0.0  0.1 /sbin/getty
42 root     S        244     1  0.0  0.1 /usr/bin/tail
7 root     SW         0     1  0.0  0.0 [khubd]
8 root     SW         0     1  0.0  0.0 [kjournald]
5 root     SW         0     1  0.0  0.0 [bdflush]
6 root     SW         0     1  0.0  0.0 [kupdated]
2 root     SW         0     1  0.0  0.0 [keventd]
3 root     SWN        0     1  0.0  0.0 [ksoftirqd_CPU0]
4 root     SW         0     1  0.0  0.0 [kswapd]





Please read our Terms of Use
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2008 NetAdminTools.com

Created by:
MCJ
MCJ CMS