DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th April 2012
Ninguem Ninguem is offline
Banned
 
Join Date: Jun 2011
Posts: 137
Default SSH between Linux and FreeBSD

I am able to copy the keys from Linux to FreeBSD; however, with the inverse, I receive
Code:
$ cat *pub|ssh  schrodinger@192.168.1.104 'cat >>.ssh/authorized_keys'
ssh: connect to host 192.168.1.104 $PORT: Connection refused
$
Reply With Quote
  #2   (View Single Post)  
Old 6th April 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

There is no server listening on port 22 on .104 - sshd is likely not running.
Reply With Quote
  #3   (View Single Post)  
Old 6th April 2012
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by Ninguem View Post
Code:
$ cat *pub|ssh  schrodinger@192.168.1.104 'cat >>.ssh/authorized_keys'
Its easier to do just # ssh-copy-id schrodinger@192.168.1.104 instead
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #4   (View Single Post)  
Old 6th April 2012
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Make sure you own the ~/.ssh/ directory and the ~/.ssh/authorized_keys file. Also chmod the authorized_keys file to 600.

Try running the ssh client with -v flag to get debug output. You can add -v up to three times for even more debug output.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 6th April 2012
Ninguem Ninguem is offline
Banned
 
Join Date: Jun 2011
Posts: 137
Default

Okay.
I did as jggimi stated and I am connected.
Vermaden, since I may also reverse the setup- FreeBSD on the iMac and Fedora on the Quicksilver- I'll use your suggestion at that time.
CarpetSmoker- I'll set permissions as you suggested a little later.

Current environment is QuickSilver:FreeBSD and iMacebian.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD FreeBSD: A Faster Platform For Linux Gaming Than Linux? vermaden News 6 15th September 2011 03:45 AM
Building Linux LibreOffice on FreeBSD Mr-Biscuit FreeBSD General 5 3rd April 2011 09:06 PM
I want move big files from FreeBSD box to Linux Box mfaridi FreeBSD General 11 4th January 2011 11:50 PM
installing linux on freeBSD freddybaker Other BSD and UNIX/UNIX-like 4 17th October 2008 03:40 PM
Matlab 2007b (linux version) on FreeBSD coppermine FreeBSD Ports and Packages 7 29th May 2008 02:50 PM


All times are GMT. The time now is 06:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick