scp connection refused

Michael Havens bmike1 at gmail.com
Wed Apr 9 20:51:09 MST 2014


hey.... I figured out the command to issue:

  /etc/init.d/ssh start

but am unsure of where to put it to always activate it.

:-)~MIKE~(-:


On Wed, Apr 9, 2014 at 8:42 PM, Michael Havens <bmike1 at gmail.com> wrote:

> so, like, I ran 'apt-get install ssh' and apt-get told me it was also
> going to install:
>
> ncurses-term openssh-client openssh-server ssh-import-id
>
> so there is what I was looking for! openssh-server.  Anyways, what file do
> I need to put in /etc/ssh.d so it will always restart upon a reboot?
>
> :-)~MIKE~(-:
>
>
> On Wed, Apr 9, 2014 at 8:31 PM, Michael Havens <bmike1 at gmail.com> wrote:
>
>> so what directory runs scripts automatically? is it /etc/ssh.d ? I just
>> put a text file with the desired script in there or is there something else
>> I have to do?
>>
>> :-)~MIKE~(-:
>>
>>
>> On Wed, Apr 9, 2014 at 3:09 PM, Michael Havens <bmike1 at gmail.com> wrote:
>>
>>> did it!
>>> apt-get install ssh
>>> did it
>>>
>>> :-)~MIKE~(-:
>>>
>>>
>>> On Wed, Apr 9, 2014 at 2:17 PM, Stephen Partington <cryptworks at gmail.com
>>> > wrote:
>>>
>>>> should be "/etc/init.d/sshd start" or something similar and then
>>>> depending on dist you simply ad that start script to the system startup
>>>> chkconfig or something similar. you can also list what is in your init.d
>>>> and see what is there.
>>>>
>>>>
>>>>
>>>> On Wed, Apr 9, 2014 at 1:57 PM, Michael Havens <bmike1 at gmail.com>wrote:
>>>>
>>>>> how do you turn openssl on? just installing it didn't do it. what
>>>>> happened to openssl-server?
>>>>>
>>>>> :-)~MIKE~(-:
>>>>>
>>>>>
>>>>> On Wed, Apr 9, 2014 at 1:51 PM, Michael Havens <bmike1 at gmail.com>wrote:
>>>>>
>>>>>> You know.... I seem to remember being able to pull files to the host
>>>>>> in another incarnation of the VM. Doesn't that mean sshd isn't installed?
>>>>>> So the easy fix is apt-get install sshd..... right?
>>>>>>
>>>>>> ohhh I remember now! I had to install ssh-server....
>>>>>> thank you Stephen... openssl . I thought it was openssl-server I hap
>>>>>> to install but it nolonger is in the repositories.
>>>>>>
>>>>>>
>>>>>> :-)~MIKE~(-:
>>>>>>
>>>>>>
>>>>>> On Wed, Apr 9, 2014 at 1:33 PM, Michael Havens <bmike1 at gmail.com>wrote:
>>>>>>
>>>>>>> I attempted to transfer a file from a virtual machine to the host
>>>>>>> with less than stellar results:
>>>>>>>
>>>>>>>   root at LFS:/# scp mnt/lfs/sources/binutils-2.24/binutils2.24.run
>>>>>>> bmike1 at 192.168.0.4:/home/bmike1/Documents
>>>>>>>   ssh: connect to host 192.168.0.4 port 22: Connection refused
>>>>>>>   lost connection
>>>>>>>   root at LFS:/#
>>>>>>>
>>>>>>> I remember this happened before in another situation and there is a
>>>>>>> solution but can't remember that solution. Could someone help me?
>>>>>>> :-)~MIKE~(-:
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> A mouse trap, placed on top of your alarm clock, will prevent you from
>>>> rolling over and going back to sleep after you hit the snooze button.
>>>>
>>>> Stephen
>>>>
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140409/a28dea32/attachment.html>


More information about the PLUG-discuss mailing list