I'm confused because your entering localhost as the destination host which
is itself.
Ssh issues are normally not that big of a deal and fall into one of these.
- dns issue where the you'll see the connection hang for quite sometime and
then finally connect.
- your she'll on the destination is messed op so try logging into the
console if u can and see if that works. That or some put the exit command
in your profile so it logs u out then in ;)
- your trying to do something that requires a terminal try adding the -t
option "ssh -t"
- finally if your running a command try and quote it like ssh -ti my.key
mike@box "ls"
On Feb 28, 2015 1:21 AM, "Michael Havens" <
bmike1@gmail.com> wrote:
> oh! I forgot to mention that if I run
>
> ssh -i ./bandit26.sshkey bandit26@localhost
>
> it just logs me out after login. Sorry I didn't mention that before.
>
> :-)~MIKE~(-:
>
> On Fri, Feb 27, 2015 at 11:17 PM, Michael Havens <bmike1@gmail.com> wrote:
>
>> The last line after running it with the verbose flags is:
>>
>> debug2: exec request accepted on channel 0
>>
>> :-)~MIKE~(-:
>>
>> On Fri, Feb 27, 2015 at 2:11 PM, Mike Ballon <mike.ballon@gmail.com>
>> wrote:
>>
>>> You're trying to ssh to the localhost?
>>>
>>> start with ssh -vvv then your arguments
>>>
>>>
>>> On Fri, Feb 27, 2015 at 3:52 PM, Michael Havens <bmike1@gmail.com>
>>> wrote:
>>>
>>>> I'm trying to ssh into a computer. The shell it uses is not bash. I've
>>>> run:
>>>>
>>>> bandit25@melinda:~$ ssh -i ./bandit26.sshkey bandit26@localhost
>>>>
>>>> bandit25@melinda:~$ ssh -i ./bandit26.sshkey bandit26@localhost ls
>>>>
>>>> bandit25@melinda:~$ ssh -i ./bandit26.sshkey bandit26@localhost echo
>>>> $0
>>>> bandit25@melinda:~$ ssh -i ./bandit26.sshkey bandit26@localhost ps -p
>>>> $$
>>>>
>>>> but they all seem to be waiting for input. Please.... what do I need to
>>>> read to figure this out?
>>>> :-)~MIKE~(-:
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>
>>>
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss