Baffled by problems with ssh and samba


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Baffled by problems with ssh and samba
# 8  
Old 01-15-2013
Quote:
Originally Posted by Royalist
Yes, I have learnt that the hard way. There is so much conflicting advice. I have now begun to understand better the 'man' pages which is a great help and now have a working
Code:
sshd_config and ssh_config

files.
I have found that setting LogLevel to debugg2 a great help.
Congrats. In fact this is the way most experts here will answer your querstions. They don't know what you are asking either, but they are capable of acquiring the necessary information quickly from the sources. Ask any of the experts here and they will unanimously tell you that they consult man pages many times a day and when they try to nail down problem causes they do so by examining available logs carefully. As you are willing (and capable of) working like an expert you will be one in no time, i guarantee you that. Congrats again.

Quote:
I am now working on finding ways of transferring the pubkey. I think it will be necessary to temporarily allow password authentication to achieve that.
You can do that but it isn't really necessary. The pubkey is a simple text file and you can use any means of transferring it you like: ftp it as i told you in my first post (see above), Open it in another window and copy-and-paste it from there - whatever. My usual way is: open a window with an editor, load the pubkey file, ssh to the remote machine in another window, open the "authorized_keys" file there and copy/paste from one window into the other.

CAUTION: if you use an X11-based window manager chances are it copies the line ends caused by the terminal size as real line breaks and thus breaks the key with the pasting. Remove simply the line breaks (create one long line again) to make the key working again.

I hope this helps.

bakunin
# 9  
Old 01-16-2013
Getting there

Thanks for your encouraging comments. In the end I did what you just suggested and transferred by any old means. However, I still do not have a connection, buSmiliet I will soon.Smilie
I think that Nautilus is not an X11-based window manager if you are referring to GUI type window? Terminal is better as there would be no permission difficulties.
Many thanks for your assistance.SmilieSmilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question