Unix System V


 
Thread Tools Search this Thread
# 1  
Unix System V

Looking for some expert advice on this really old system...we're trying to convert it to a VM but it's ridiculously old and unfortunately still needed...It says its Unix System V and NCR 3000 or something...I'm not unix savvy but I can work my way through it.

Anyhow, I tried to do a cold clone of it but it needs a minimum of 264mb of ram, it only has 64mb. In order to do an online conversion, I need to be able to access it via ssh with root, unfortunately it doesn't work.

The only information I have about the ssh on it is that its 3.2.9.1 non-commercial version...I did edit the sshd2_config file to permit root user but I'm still getting access denied. I can login via a user account and it works fine...not sure what the issue is. I also tested out the telnet portion of it by disabling the console option in the default file and I can login via root with telnet so I'm guessing its something with ssh...can anyone offer any assistance? Thanks much!

-Mike
# 2  
You obviously can log on via the console.

Connect and try this to restart sshd
1. get the pid of the sshd process with
Code:
ps -ef | grep sshd

2. send a SIGHUP signal to the sshd process, to force it to reread the config file

Code:
kill -s SIGHUP [pid of the sshd process]

If that fails, can you test ssh with
Code:
telnet [ancient unix ip] 22

You will see something with
telnet somenode 22
Trying 10.128.3.243...
Connected to somenode.mycompany.com.


The ESC key will get you out.

Lets us know....
# 3  
Thanks Jim - here's what resulted:

Code:
# ps -ef|grep sshd
    root  2637     1  0 12:29:49 ?        0:00 ./sshd
# kill -s SIGHUP 2637
UX:kill: ERROR: bad signal
# telnet 10.64.11.159 22
Trying 10.64.11.159...
Connected to 10.64.11.159.
Escape character is '^]'.
SSH-2.0-3.2.9.1 SSH Secure Shell (non-commercial)
Connection closed by foreign host.
#

# 4  
ssh is working just fine.

What is going on with the root account I cannot say. But did you restart (stop and restart) sshd after you changed the config file?
# 5  
Yes but only by killing the PID and restarting it manually and I tried rebooting as well...I even put it in verbose mode but it wasn't telling me anything. It's just strange, I can login as a normal user fine and su over to root but root gives me access denied when I attempt it directly.
# 6  
get into root.
Code:
cd
cd .ssh
ls -la

Can you do that? Please post output.
# 7  
I think I know what your looking for, but directories are not standard on this machine...here's the contents:

Code:
# cd /etc/ssh2
# ls -la
total 68
drwxr-xr-x   5 root     other       1024 Oct 24 11:03 .
drwxrwxr-x  52 root     sys         5120 Oct 24 10:48 ..
-rw-------   1 root     other       1339 May 15  2007 hostkey
-rw-r--r--   1 root     other       1207 May 15  2007 hostkey.pub
drwxr-xr-x   2 root     other         96 May 15  2007 hostkeys
drwxr-xr-x   2 root     other         96 May 15  2007 knownhosts
-rw-------   1 root     other        512 Oct 24 15:13 random_seed
-rw-r--r--   1 root     other       2377 May 15  2007 ssh2_config
-rw-r--r--   1 root     other       2377 May 15  2007 ssh2_config.example
-rw-r--r--   1 root     other        122 May 15  2007 ssh_dummy_shell.out
-rw-rw-rw-   1 root     root           5 Oct 24 15:11 sshd2_22.pid
-rw-r--r--   1 root     other       6248 Oct 24 12:29 sshd2_config
-rw-r--r--   1 root     other       6209 May 15  2007 sshd2_config.example
drwxr-xr-x   2 root     other       1024 May 15  2007 subconfig

And here's the contents of the executables:

Code:
# cd /usr/local/sbin
# ls -la
total 16680
drwxr-xr-x   2 root     other         96 May 15  2007 .
drwxr-xr-x  22 root     other       1024 Feb  7  2012 ..
lrwxrwxrwx   1 root     other          5 May 15  2007 sshd -> sshd2
-rwxr-xr-x   1 root     other    2878096 May 15  2007 sshd-check-conf
-rwxr-xr-x   1 root     other    5660608 May 15  2007 sshd2

 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Error UNIX: UNIX SCO release 5.05 system does not boot

UNIX sco release 5.05 system does not boot:cannot open device hd(40)/boot stage 1 boot failure: error loading hd(40)/bootWhat to do? (2 Replies)
Discussion started by: Joaoalpande
2 Replies

2. Shell Programming and Scripting

UNIX file system to Linux file system migration

We would be migrating UNIX file system to Linux file system. We do have many directory and sub directories with files. after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies

3. UNIX for Dummies Questions & Answers

Unix System Programmer Vs. Unix System Administrator

Hi friends, I hope you are all fine and doing well. First of all, let me say that I love Unix with passion. But I have one query in my mind that is bothering me. What should I do, Unix System Administration or Unix System Programmering. Could you please tell me the difference between the two. And... (3 Replies)
Discussion started by: gabam
3 Replies

4. UNIX for Dummies Questions & Answers

What are the career options in unix apart from unix system administration?

What are the career options in unix apart from unix system administration? (2 Replies)
Discussion started by: thulasidharan2k
2 Replies

5. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

6. UNIX for Dummies Questions & Answers

unix system v release 3.2 (sco-unix?)

another unix printing issue. our client based pc's used to print some form's to our hp printer. as of the moment they can not print. i have checked & did the ff: #lpstat -r (scheduler is running) i dunno if i need to restart the whole unix box via shutdown or just checking at... (15 Replies)
Discussion started by: jedimaster
15 Replies

7. UNIX for Dummies Questions & Answers

Converting a Windows system to a UNIX system

Hello I am looking for advise on how to convert a windows based computer system into a UNIX based operating system.. I would like to be able to learn UNIX better than I know it and work didn't allow me to work with UNIX much. Is there a book where I could learn how to accomplish that... (6 Replies)
Discussion started by: baksg1995
6 Replies

8. Answers to Frequently Asked Questions

What is unix and is linux a unix system

Unix is the name of an operating system. And unix is a registered trademark. This is what makes things murky. One of my favorite books is The Design and Implementation of the 4.3BSD UNIX Operating System. That book is out of print, but a newer book is available: The Design and Implementation... (0 Replies)
Discussion started by: Perderabo
0 Replies

9. UNIX for Dummies Questions & Answers

Use Pc On Unix System?

Looking for a 30 day band aid approach to keep a UNIX system alive until it's replaced with a new PC Network and new PC software. I know almost nothing about UNIX!!! This is a SCO UNIX OpenServer v.5.05 Host Operating system on a Compaq Prosignia 200 UNIX fileserver which seems to have NO... (1 Reply)
Discussion started by: littlema
1 Replies

10. UNIX for Dummies Questions & Answers

Difference between UNIX operating system and Unix Open Server

Hi, I recently joined this forum and new to UNIX. Is there any difference between UNIX operating system and UNIX open server? Please explain. (1 Reply)
Discussion started by: Manjit
1 Replies

Featured Tech Videos