|
Off-Topic Everything else. |
|
Thread Tools | Display Modes |
|
|
|||
Using multiple BSDs: How have you implemented them?
Since it is still not completely finished- see the mailing lists for more information- I decided to use the FreeBSD G3 and an OpenBSD i386 install together. The G3 acts a s a viewer/thinclient and the P4/i386 acts as a server. I haven't quite gotten the ssh and X11 forwarding setup.
What ways did you setup different BSDs to work together? Last edited by Mr-Biscuit; 23rd May 2010 at 06:30 PM. Reason: Spelling. |
|
|||
Right now, I'm at the "I don't understand this quite enough" point.
OpenSSH is at the point of not exporting keys properly. X11 forwarding is at the point- A strange way to be.- of which .Xauth and how? I've kept the experimenting on the FreeBSD x86 install with the host and jail. (The fear that a clusterf* will ensue- by reason of me- is enough for me not to want to mess up the G3 or the OpenBSD install.) What I'd like is SSH with X11 forwarding- and maybe on another display; but, what I'd settle for- and am right now- is the VNC setup. Last edited by Mr-Biscuit; 9th July 2010 at 01:13 PM. |
|
|||
I have setup an rsa key on the openbsd machine and will setup another on the G3 later.
Here are the questions: It's a LAN behind the router and the machines have an assigned IP address. Do I need to use a command such as scp to the name of the machine or to the assigned IP? Let me know what work I need to show. |
|
|||
Quote:
Otherwise, you can specify each machine by IP address when copying files about. |
|
|||
I get the following error:
Code:
debug1: Roaming not allowed by server On both machines I have set: port to a higher number, user only has ssh access, X11 is forwarded. |
|
||||
Did you set up both the ~/.ssh/authorized_hosts and ~/.ssh/id_rsa (Your public and private key) on both machines?
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
Yes.
|
|
|||
I've exported the key from Open to Free.
Code:
$ ssh -p 2442 -Y moleque@192.168.1.3 Permission denied (publickey,keyboard-interactive). |
|
|||
I'm having a problem with host key importing/exporting.
Code:
$ uname -a FreeBSD tima.tiza 9.0-20100418-SNAP FreeBSD 9.0-20100418-SNAP #0: Sun Apr 18 06:51:02 UTC 2010 root@dynode.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC powerpc $ ssh -Y -p 2442 moleque@192.168.1.3 The authenticity of host '[192.168.1.3]:2442 ([192.168.1.3]:2442)' can't be established. DSA key fingerprint is bd:7c:29:4e:48:df:01:01:46:75:68:fb:fb:2a:90:07. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '[192.168.1.3]:2442' (DSA) to the list of known hosts. Permission denied (publickey,keyboard-interactive). $ ssh -Y -p 2442 moleque@192.168.1.3 Permission denied (publickey,keyboard-interactive). $ Code:
$ pwd /home/moleque/.ssh $ uname -a OpenBSD moo.my.domain 4.6 GENERIC#58 i386 $ ls authorized_keys id_dsa.pub id_rsa.pub moleque@192.168.1.5 id_dsa id_rsa known_hosts $ Code:
$ pwd /home/moleque/.ssh $ uname -a FreeBSD tima.tiza 9.0-20100418-SNAP FreeBSD 9.0-20100418-SNAP #0: Sun Apr 18 06:51:02 UTC 2010 root@dynode.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC powerpc $ ls known_hosts moleque@192.168.1.3 $ Last edited by Mr-Biscuit; 31st May 2010 at 03:21 AM. |
|
|||
Quote:
Code:
$ scp id_dsa.pub moleque@192.168.1.3 In http://www.daemonforums.org/showthread.php?t=1758 I give a correct way to append a public key file to the .authorized_keys file.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
Quote:
Do you want to use a RSA or DSA key? You have both, choose one and remove the other, it will serve no puropse other then make things more complicated. Are your authorized_hosts and id_rsa/id_dsa (As mentioned above, choose one) *exactly* the same? Check with md5 to be sure.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
Code:
# /usr/sbin/sshd -d -d -d debug2: load_server_config: filename /etc/ssh/sshd_config debug2: load_server_config: done config len = 295 debug2: parse_server_config: config /etc/ssh/sshd_config len 295 debug3: /etc/ssh/sshd_config:11 setting Port 2442 debug3: /etc/ssh/sshd_config:19 setting Protocol 2 debug3: /etc/ssh/sshd_config:39 setting PermitRootLogin no debug3: /etc/ssh/sshd_config:59 setting PasswordAuthentication no debug3: /etc/ssh/sshd_config:78 setting X11Forwarding yes debug3: /etc/ssh/sshd_config:79 setting X11DisplayOffset 100 debug3: /etc/ssh/sshd_config:80 setting X11UseLocalhost yes debug3: /etc/ssh/sshd_config:90 setting UseDNS no debug3: /etc/ssh/sshd_config:100 setting Subsystem sftp /usr/libexec/sftp-server debug3: /etc/ssh/sshd_config:107 setting AllowUsers moleque debug1: sshd version OpenSSH_5.3 Could not load host key: /etc/ssh/ssh_host_rsa_key debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key. debug1: PEM_read_PrivateKey failed debug1: read PEM private key done: type <unknown> Could not load host key: /etc/ssh/ssh_host_dsa_key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting. I'm wondering, what is it that I am skipping over? |
|
||||
Did you verify that both keys are the same as I mentioned before? I know you *think* they are the same, but that is not the same as *knowing*.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
No. They don't match.
|
|
|||
I'm getting the same result after following J65nko's howto.
The power here has gone out twice; so, I have no idea what the set of commands were to setup login from X.5 to X.3. Edit: the problem is in the OpenBSD conf files. Now, how do I disable the keyboard and publickey checking? The /etc/ssh/Known_hosts file on the OpenBSD is empty while the G3 has the host, port, and key. Last edited by Mr-Biscuit; 1st June 2010 at 07:55 AM. |
|
||||
Quote:
I would take the easy way out: Copy the files to a USB drive, floppy disk, whatever, and copy them that way. Make sure you copy right *right* private/public keys.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
I have the FreeBSD to FreeBSD ssh setup going good.
I still need to see what went wrong with the FreeBSD to OpenBSD login. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New BSD magazine issue: "BSDs as Servers" | wesley | News | 0 | 1st February 2010 12:31 PM |
Putting Free/Net/Open - BSDs on one HDD | alpopa | NetBSD Installation and Upgrading | 6 | 23rd December 2008 08:16 PM |
Using multiple gateways | ivanatora | FreeBSD General | 7 | 15th November 2008 06:57 PM |
Multiple VPN | rondynames | OpenBSD General | 5 | 24th July 2008 11:51 AM |