ssh
kitepilot at kitepilot.com
kitepilot at kitepilot.com
Sat Feb 28 11:09:54 MST 2015
> user:passwd:UID:GID:?:?
home directory and default shell (man 5 passwd)
What does
file /usr/bin/showtext
returns?
I wonder how it got there...
ET
Michael Havens writes:
> bandit25 at melinda:~$ grep bandit26 /etc/passwd
> bandit26:x:11026:11026:bandit level 26:/home/bandit26:/usr/bin/showtext
>
> if possible don't figure it out for me..... help me to figure it out.
> For instance: I understand the grep command but why are we issuing it?
> As for the output of that command:
> bandit26:x:11026:11026:bandit level 26:/home/bandit26:/usr/bin/showtext
> user:passwd:UID:GID:?:?
> After I looked up the password file I was inspired to grep
> /usr/bin/showtext but after entering it it just hung.
> :-)~MIKE~(-:
>
> On Sat, Feb 28, 2015 at 9:56 AM, Michael Havens <bmike1 at gmail.com> wrote:
>
>> permission denied
>>
>>
>> :-)~MIKE~(-:
>>
>> On Sat, Feb 28, 2015 at 9:30 AM, Mike Ballon <mike.ballon at gmail.com>
>> wrote:
>>
>>> Oh try a sudo makedev -a if nothing else works, maybe your tty is hosed
>>> On Feb 28, 2015 2:35 AM, "Michael Havens" <bmike1 at gmail.com> wrote:
>>>
>>>> I looked at the output with the verbose flags and think IO need to
>>>> include a tad more than just the last line:
>>>>
>>>> debug1: Sending command: vi /etc/ssh/sshd_config
>>>> debug2: channel 0: request exec confirm 1
>>>> debug2: callback done
>>>> debug2: channel 0: open confirm rwindow 0 rmax 32768
>>>> debug2: channel 0: rcvd adjust 2097152
>>>> debug2: channel_input_status_confirm: type 99 id 0
>>>> debug2: exec request accepted on channel 0
>>>>
>>>> and then it just hangs
>>>>
>>>> :-)~MIKE~(-:
>>>>
>>>> On Fri, Feb 27, 2015 at 11:21 PM, Michael Havens <bmike1 at gmail.com>
>>>> wrote:
>>>>
>>>>> oh! I forgot to mention that if I run
>>>>>
>>>>> ssh -i ./bandit26.sshkey bandit26 at 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 at 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 at 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 at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I'm trying to ssh into a computer. The shell it uses is not bash.
>>>>>>>> I've run:
>>>>>>>>
>>>>>>>> bandit25 at melinda:~$ ssh -i ./bandit26.sshkey bandit26 at localhost
>>>>>>>>
>>>>>>>> bandit25 at melinda:~$ ssh -i ./bandit26.sshkey bandit26 at localhost ls
>>>>>>>>
>>>>>>>> bandit25 at melinda:~$ ssh -i ./bandit26.sshkey bandit26 at localhost
>>>>>>>> echo $0
>>>>>>>> bandit25 at melinda:~$ ssh -i ./bandit26.sshkey bandit26 at 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 at 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 at 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 at 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 at lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>
>>
More information about the PLUG-discuss
mailing list