Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Baffled by problems with ssh and samba Post 302753361 by Royalist on Tuesday 8th of January 2013 12:55:18 PM
Old 01-08-2013
Please keep it simple No code tags as Firefox shuts down

Thank very much for your prompt reply.


I think that you are assuming that I am more advanced than is the fact.


Code:
ssh roy@192.168.1.xx (host IP)
 

 Did that on client.  
 

 Result: ”ssh: connect to host 192.168.1.xx port 22: Connection refused”
 

 # ps -fe | grep sshd
 

 Did that without the # and this was the result:
 roy       2573  2517  0 16:19 pts/0    00:00:00 grep --color=auto sshd 
 

 Yours was:
 root       987     1  0 Jan02 ?        00:00:00 /usr/sbin/sshd -D
 bakunin  16163 16153  0 13:24 pts/0    00:00:00 grep sshd
 

 So I need to chown ownership to root, but I do not understand the significance of the other differences. It's a bit too advanced for me.
 

 Shall I send you the current contents of /etc/ssh/sshd_config??
 

 sudo /usr/sbin/sshd -D
 

 Did that on desktop/server, but no result, had to stop it in the end with 'cntrl C'
 

 roy@192.168.1.xx (client IP) # ssh roy@182.168.1.xx (server IP)
 

 Did that: 'command not found'
 

 roy@192.168.1.xx (client IP) # ssh roy@192.168.1.xx (server IP)
 

 Did that on netbook client i.e. user1@host1 user2@host2  i.e. desktop server
 

 'command not found'
 

 roy@192.168.1.xx # ssh-keygen

did that on netbook with and without the # : - command not found.


I don't see any point in going further at this stage.


CAN YOU TELL ME PLEASE HOW TO WIPE THE SLATE CLEAN and to make a fresh start in language a genuine newbie can understand.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

samba PROBLEMS

i am run SUSE 6.4 with apache that i built and maintain to serve my dads website, (www.farragutmarine.com for anyone who cares) anyway i am running samba and i have a huge problem, throughout the day, everything goes fine, but then my server will come to a grinding halt, if i try to telnet in or... (4 Replies)
Discussion started by: norsk hedensk
4 Replies

2. News, Links, Events and Announcements

More SSH Problems.....

See: http://www.cert.org/advisories/CA-2002-36.html and http://www.rapid7.com/News/pr021216-ssh.html (1 Reply)
Discussion started by: Neo
1 Replies

3. UNIX for Advanced & Expert Users

SSH problems

I am trying to ssh into a remote sun server, however I get X11 forwarding error. I have checked sshd_config file and X11 forwarding is enabled. Also xhost command doesnt give any output, it doesnt even return the prompt.I have to Ctrl C out of the situation. any suggestions anyone?? (1 Reply)
Discussion started by: ysk
1 Replies

4. Red Hat

Problems running redhat config samba in the GUI

hi Recently the above option has stopped working all together. On clicking on this option it appears as though the window will open as the outline of the box appears but nothing more. On running this from a command prompt within the GUI , I get the following error: The last line... (0 Replies)
Discussion started by: timcs
0 Replies

5. SCO

Authentication problems with Active Directory/Samba/Winbind/Pam

Hi all. I'm having real trouble authenticating users against active directory for my SCO UnixWare 7.1.4 box running samba 3.0.24 (installed via Maintenance pack 4). I can list AD users/groups (after overcoming several hiccups) with wbinfo -g / wbinfo -u. I can use id to get a view an ad user ie:... (0 Replies)
Discussion started by: silk600
0 Replies

6. UNIX for Advanced & Expert Users

Problems between a HP UX 11.31 Samba share and Windows 7...

Hi I have an issue with a client. He was able to use his mounted Samba share for a long time. However, a couple of days ago, he wasn't able to access all of his files all of a sudden. He still see's the share and majority of the files, but not some that he needs. I checked with Secure CRT on... (1 Reply)
Discussion started by: zixzix01
1 Replies

7. AIX

Installing SAMBA problems

I have created an LPAR and the next step is to get SAMBA installed, I have mounted our NIM server up and copied over the SAMBA binaries .bff files. How do i install these? i tried doing this through SMIT but had no luck..? Any help would be greatly appreciated. AIX OS 6.1 (2 Replies)
Discussion started by: audis$
2 Replies

8. Solaris

Samba 3.6.5 install problems

Hi all, I'm trying to update my samba 3.5.10 to 3.6.5 due to security CVE issued with 3.5. I downloaded and unzipped, did the make and make install and the ./configure. I didn't use any changes to it and it said it installed correctly added it to my path and it looks like it's operating... (6 Replies)
Discussion started by: mattymatt79
6 Replies

9. HP-UX

HP-UX SSH and Active Directory Kerberos with Samba

The situation: i have a AD server with samba4,all clients ssh-kerberos works fine,except hpux :p wich works only for few days..then i must re-export(sic!) the keys with samba-tool domain exportkeytab 11.keytab --principal=host/hpux.fqdn Why after few days ssh return error "server not found... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
tgt-setup-lun(8)					      System Manager's Manual						  tgt-setup-lun(8)

NAME
tgt-setup-lun - creates a target, adds a device to the target and defines initiators that can connect to the target SYNOPSIS
tgt-setup-lun -d device -n target_name [initiator_IP1 initiator_IP2 ...] [-h] DESCRIPTION
Starts tgtd if necessary and creates a target according to the supplied target_name. The format of the target name is as follows: iqn.2001-04.com.<hostname>-<target_name> The target name must be unique. The script then adds the requested device to the target. If specific IP addresses are defined, it adds them to the list of allowed initia- tors for that target. If no IP addresses is defined, it defines that the target accepts any initiator. EXAMPLES
Create a target that uses /dev/sdb1 and allows connections only from 192.168.10.81: tgt-setup-lun -d /dev/sdb1 -n my_target 192.168.10.81 Create a target that uses /dev/sdb1 and allows connections only from 192.168.10.81 and 192.168.10.82: tgt-setup-lun -d /dev/sdb1 -n my_target 192.168.10.81 192.168.10.82 Create a target that uses /dev/sdb1 and allows connections from any initiator: tgt-setup-lun -d /dev/sdb1 -n my_target Display help: tgt-setup-lun -h AUTHOR
Written by Erez Zilber REPORTING BUGS
Report bugs to <erezz@voltaire.com>. COPYRIGHT
Copyright (C) Voltaire Ltd. 2008. tgt-setup-lun(8)
All times are GMT -4. The time now is 05:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy