Re: Sftp does not work after upgrade fo F12 [Solved!]

2010-03-30 Thread Gianfranco Durin
On 03/30/2010 03:37 PM, Rick Sewill wrote:
> On 03/30/2010 05:57 AM, Gianfranco Durin wrote:
> ...
>
> I am confused too.
>
> Just a guess...might be a wild goose chase...
> for the user account you are trying to sftp to, could you save your bash
> startup files on the server machine and set up the default bash startup
> files?
>
> My memory is vague, or it might be my imagination, but I seem to
> remember having a problem, a very long time ago, about having things in
> my bash startup files that were interfering with my ability to do things
> through ssh.  Whatever problem I had may no longer be a problem.
>
> I finally fixed my problem by stopping my .bashrc file from doing
> certain things if not interactive.
>
> I came to the conclusion my problem had something to do with things in
> my .bashrc file intercepting input from the standard input and creating
> unexpected output on standard output.
>
> I still try to separate my bash startup files into stuff I always want
> to do and stuff I only want to do when interactive.
>
> I still put the following line in an appropriate place in my .bashrc
> file to stop doing certain things when I am not interactive:
>
> # check for shell is not interactive
>  [ -z "${PS1}" ]&&  return
>
> It's just a guess...but it would be quick and easy to test.
>

Clap, clap, clap!!!

Great Rick, adding the check the problem disappears!

Yes, indeed, it is sometime obscure in my file .bashrc, which by the way 
is rather simple... so simple that the only problem can come from

bind '"\e[A"':history-search-backward
bind '"\e[B"':history-search-forward

which is a very useful function to get previous commands...
But with the check both sftp and history-search now work!

Thank you so much Rick and all the others!

Gianfranco
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Sftp does not work after upgrade fo F12

2010-03-30 Thread Aaron Konstam
On Tue, 2010-03-30 at 12:57 +0200, Gianfranco Durin wrote: 
> On 03/29/2010 07:23 PM, Rick Sewill wrote:
> > On 03/29/2010 10:23 AM, Gianfranco Durin wrote:
> >> On 03/29/2010 03:28 PM, Aaron Konstam wrote:
> >>> On Mon, 2010-03-29 at 11:07 +0200, Gianfranco Durin wrote:
>  On 03/25/2010 03:51 PM, Marvin Kosmal wrote:
> > Could start with which sftp on the Fedora machine.
> >
> > YMMV
> >
> > Marvin
> >
> 
>  Thanks,
>  I use openssh
> 
>  and I have
> 
>  Subsystem sftp /usr/libexec/sftp-server
> 
>  enable in my sshd.config file.
> 
>  Is it enough?
> 
>  Gianfranco
> >>> This is the line in my sshd.conf file
> >>> Subsystem   sftp/usr/libexec/openssh/sftp-server
> >>>
> >>> The file you reference does not exist on my machine.
> >>
> >> Yes, sorry, you are right, this is the very same I have
> >>
> >> Gianfranco
> >
> > Can you ssh successfully from the client side to the server side?
> >
> > Sorry if you already answered this question.
> > I started looking at this thread in the middle.
> >
> > If you cannot ssh, that will give us some hints.
> >
> > If you can ssh successfully, please check your /etc/hosts.allow and
> > /etc/hosts.deny files on the server side.  I believe openssh-server is
> > built to examine those files.  I believe those files can authenticate or
> > block connections on a per service per user per host basis.
> >
> 
> I can do ssh, this is what I cannot understand
> 
> > On the client side, can you do sftp -v 
> >
> > Does anyone know if multiple sftp -v -v -v increase the logging level as
> > it does in ssh -v -v -v ?
> >
> > If using multiple -v does increase the logging level, can you do
> > sftp -v -v -v ...
> >
> >
> Ahah, very good idea!
> Yes, using multiple -v -v increase the logging level.
> 
> Ok, now I try to do both ssh and sftp on my localhost (using -v). These 
> are the outputs I get after I enter the password:
> 
> ==
> ssh -v localhost
> 
> debug1: Authentication succeeded (password).
> debug1: channel 0: new [client-session]
> debug1: Requesting no-more-sessi...@openssh.com
> debug1: Entering interactive session.
> debug1: Sending environment.
> debug1: Sending env XMODIFIERS = @im=none
> debug1: Sending env LANG = en_US.UTF-8
> 
> So it works. But let's check the output of -v -v
> ===
> ssh -v -v localhost
> debug2: we sent a password packet, wait for reply
> debug1: Authentication succeeded (password).
> debug1: channel 0: new [client-session]
> debug2: channel 0: send open
> debug1: Requesting no-more-sessi...@openssh.com
> debug1: Entering interactive session.
> debug2: callback start
> debug2: client_session2_setup: id 0
> debug2: channel 0: request pty-req confirm 1
> debug1: Sending environment.
> debug1: Sending env XMODIFIERS = @im=none
> debug2: channel 0: request env confirm 0
> debug1: Sending env LANG = en_US.UTF-8
> debug2: channel 0: request env confirm 0
> debug2: channel 0: request shell confirm 1
> debug2: fd 3 setting TCP_NODELAY
> debug2: callback done
> debug2: channel 0: open confirm rwindow 0 rmax 32768
> debug2: channel_input_status_confirm: type 99 id 0
> debug2: PTY allocation request accepted on channel 0
> debug2: channel 0: rcvd adjust 2097152
> debug2: channel_input_status_confirm: type 99 id 0
> debug2: shell request accepted on channel 0
> 
> ===
> Now, let's try:  sftp -v localhost
> 
> debug1: Authentication succeeded (password).
> debug1: channel 0: new [client-session]
> debug1: Requesting no-more-sessi...@openssh.com
> debug1: Entering interactive session.
> debug1: Sending environment.
> debug1: Sending env XMODIFIERS = @im=none
> debug1: Sending env LANG = en_US.UTF-8
> debug1: Sending subsystem: sftp
> debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0
> debug1: client_input_channel_req: channel 0 rtype e...@openssh.com reply 0
> debug1: channel 0: free: client-session, nchannels 1
> debug1: fd 0 clearing O_NONBLOCK
> Transferred: sent 1872, received 2040 bytes, in 0.1 seconds
> Bytes per second: sent 23294.9, received 25385.4
> debug1: Exit status -1
> Connection closed
Sorry the output in my last message was wrong since I had a publickey
stored in .ssh/knownhosts.

Below is the output I would expect you would see. Did you remove lines
from the output you posted?

Connecting to localhost...
OpenSSH_5.3p1, OpenSSL 1.0.0-fips-beta4 10 Nov 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/akonstam/.ssh/id_rsa type 1
debug1: identity file /home/akonstam/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug1: SSH2_MS

Re: Sftp does not work after upgrade fo F12

2010-03-30 Thread Aaron Konstam
On Tue, 2010-03-30 at 12:57 +0200, Gianfranco Durin wrote: 
> On 03/29/2010 07:23 PM, Rick Sewill wrote:
> > On 03/29/2010 10:23 AM, Gianfranco Durin wrote:
> >> On 03/29/2010 03:28 PM, Aaron Konstam wrote:
> >>> On Mon, 2010-03-29 at 11:07 +0200, Gianfranco Durin wrote:
>  On 03/25/2010 03:51 PM, Marvin Kosmal wrote:
> > Could start with which sftp on the Fedora machine.
> >
> > YMMV
> >
> > Marvin
> >
> 
>  Thanks,
>  I use openssh
> 
>  and I have
> 
>  Subsystem sftp /usr/libexec/sftp-server
> 
>  enable in my sshd.config file.
> 
>  Is it enough?
> 
>  Gianfranco
> >>> This is the line in my sshd.conf file
> >>> Subsystem   sftp/usr/libexec/openssh/sftp-server
> >>>
> >>> The file you reference does not exist on my machine.
> >>
> >> Yes, sorry, you are right, this is the very same I have
> >>
> >> Gianfranco
> >
> > Can you ssh successfully from the client side to the server side?
> >
> > Sorry if you already answered this question.
> > I started looking at this thread in the middle.
> >
> > If you cannot ssh, that will give us some hints.
> >
> > If you can ssh successfully, please check your /etc/hosts.allow and
> > /etc/hosts.deny files on the server side.  I believe openssh-server is
> > built to examine those files.  I believe those files can authenticate or
> > block connections on a per service per user per host basis.
> >
> 
> I can do ssh, this is what I cannot understand
> 
> > On the client side, can you do sftp -v 
> >
> > Does anyone know if multiple sftp -v -v -v increase the logging level as
> > it does in ssh -v -v -v ?
> >
> > If using multiple -v does increase the logging level, can you do
> > sftp -v -v -v ...
> >
> >
> Ahah, very good idea!
> Yes, using multiple -v -v increase the logging level.
> 
> Ok, now I try to do both ssh and sftp on my localhost (using -v). These 
> are the outputs I get after I enter the password:
> 
> ==
> ssh -v localhost
> 
> debug1: Authentication succeeded (password).
> debug1: channel 0: new [client-session]
> debug1: Requesting no-more-sessi...@openssh.com
> debug1: Entering interactive session.
> debug1: Sending environment.
> debug1: Sending env XMODIFIERS = @im=none
> debug1: Sending env LANG = en_US.UTF-8
> 
> So it works. But let's check the output of -v -v
> ===
> ssh -v -v localhost
> debug2: we sent a password packet, wait for reply
> debug1: Authentication succeeded (password).
> debug1: channel 0: new [client-session]
> debug2: channel 0: send open
> debug1: Requesting no-more-sessi...@openssh.com
> debug1: Entering interactive session.
> debug2: callback start
> debug2: client_session2_setup: id 0
> debug2: channel 0: request pty-req confirm 1
> debug1: Sending environment.
> debug1: Sending env XMODIFIERS = @im=none
> debug2: channel 0: request env confirm 0
> debug1: Sending env LANG = en_US.UTF-8
> debug2: channel 0: request env confirm 0
> debug2: channel 0: request shell confirm 1
> debug2: fd 3 setting TCP_NODELAY
> debug2: callback done
> debug2: channel 0: open confirm rwindow 0 rmax 32768
> debug2: channel_input_status_confirm: type 99 id 0
> debug2: PTY allocation request accepted on channel 0
> debug2: channel 0: rcvd adjust 2097152
> debug2: channel_input_status_confirm: type 99 id 0
> debug2: shell request accepted on channel 0
> 
> ===
> Now, let's try:  sftp -v localhost
> 
> debug1: Authentication succeeded (password).
> debug1: channel 0: new [client-session]
> debug1: Requesting no-more-sessi...@openssh.com
> debug1: Entering interactive session.
> debug1: Sending environment.
> debug1: Sending env XMODIFIERS = @im=none
> debug1: Sending env LANG = en_US.UTF-8
> debug1: Sending subsystem: sftp
> debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0
> debug1: client_input_channel_req: channel 0 rtype e...@openssh.com reply 0
> debug1: channel 0: free: client-session, nchannels 1
> debug1: fd 0 clearing O_NONBLOCK
> Transferred: sent 1872, received 2040 bytes, in 0.1 seconds
> Bytes per second: sent 23294.9, received 25385.4
> debug1: Exit status -1
> Connection closed
> 
Hopefully not to add to the confusion when I run: sftp -v localhost
below is my output. Soo I don't understand howw you got the output you
posted.

Connecting to localhost...
OpenSSH_5.3p1, OpenSSL 1.0.0-fips-beta4 10 Nov 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to localhost [127.0.0.1] port 22.
debug1: Connection established.
debug1: identity file /home/akonstam/.ssh/id_rsa type 1
debug1: identity file /home/akonstam/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT receive

Re: Sftp does not work after upgrade fo F12

2010-03-30 Thread Rick Sewill
On 03/30/2010 05:57 AM, Gianfranco Durin wrote:
...
> =
> 
> Googling a little, I see I am not the only one to have a similar problem:
> 
> http://www.experts-exchange.com/OS/Linux/Setup/Q_24958525.html
> http://support.expandrive.com/discussions/expandrive-mac/361-can-ssh-connect-on-the-comandline-but-expandrive-connection-allways-dies
> 
> So, finally I tried:
> ===
> sftp -vvv localhost
...
> debug1: Sending subsystem: sftp
> debug2: channel 0: request subsystem confirm 1
> debug2: fd 3 setting TCP_NODELAY
> debug2: callback done
> debug2: channel 0: open confirm rwindow 0 rmax 32768
> debug3: Wrote 192 bytes for a total of 1941
> debug2: channel 0: rcvd adjust 2097152
> debug2: channel_input_status_confirm: type 99 id 0
> debug2: subsystem request accepted on channel 0
> debug3: Wrote 48 bytes for a total of 1989
> debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0
> debug1: client_input_channel_req: channel 0 rtype e...@openssh.com reply 0
> debug2: channel 0: rcvd eow
> debug2: channel 0: close_read
> debug2: channel 0: input open -> closed
> debug2: channel 0: rcvd eof
> debug2: channel 0: output open -> drain
> debug2: channel 0: obuf empty
> debug2: channel 0: close_write
> debug2: channel 0: output drain -> closed
> debug2: channel 0: rcvd close
> debug3: channel 0: will not send data after close
> debug2: channel 0: almost dead
> debug2: channel 0: gc: notify user
> debug2: channel 0: gc: user detached
> debug2: channel 0: send close
> debug2: channel 0: is dead
> debug2: channel 0: garbage collecting
> debug1: channel 0: free: client-session, nchannels 1
> debug3: channel 0: status: The following connections are open:
>#0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cfd -1)
> 
> debug3: channel 0: close_fds r -1 w -1 e 6 c -1
> debug3: Wrote 32 bytes for a total of 2021
> debug3: Wrote 64 bytes for a total of 2085
> debug1: fd 0 clearing O_NONBLOCK
> debug3: fd 1 is not O_NONBLOCK
> Transferred: sent 1872, received 2040 bytes, in 0.1 seconds
> Bytes per second: sent 22414.6, received 24426.1
> debug1: Exit status -1
> Connection closed
> =
> Honestly, I am little confused...
> 
> Thanks to all,
> Gianfranco

I am confused too.

Just a guess...might be a wild goose chase...
for the user account you are trying to sftp to, could you save your bash
startup files on the server machine and set up the default bash startup
files?

My memory is vague, or it might be my imagination, but I seem to
remember having a problem, a very long time ago, about having things in
my bash startup files that were interfering with my ability to do things
through ssh.  Whatever problem I had may no longer be a problem.

I finally fixed my problem by stopping my .bashrc file from doing
certain things if not interactive.

I came to the conclusion my problem had something to do with things in
my .bashrc file intercepting input from the standard input and creating
unexpected output on standard output.

I still try to separate my bash startup files into stuff I always want
to do and stuff I only want to do when interactive.

I still put the following line in an appropriate place in my .bashrc
file to stop doing certain things when I am not interactive:

# check for shell is not interactive
[ -z "${PS1}" ] && return

It's just a guess...but it would be quick and easy to test.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Sftp does not work after upgrade fo F12

2010-03-30 Thread Gianfranco Durin
On 03/29/2010 07:23 PM, Rick Sewill wrote:
> On 03/29/2010 10:23 AM, Gianfranco Durin wrote:
>> On 03/29/2010 03:28 PM, Aaron Konstam wrote:
>>> On Mon, 2010-03-29 at 11:07 +0200, Gianfranco Durin wrote:
 On 03/25/2010 03:51 PM, Marvin Kosmal wrote:
> Could start with which sftp on the Fedora machine.
>
> YMMV
>
> Marvin
>

 Thanks,
 I use openssh

 and I have

 Subsystem sftp /usr/libexec/sftp-server

 enable in my sshd.config file.

 Is it enough?

 Gianfranco
>>> This is the line in my sshd.conf file
>>> Subsystem   sftp/usr/libexec/openssh/sftp-server
>>>
>>> The file you reference does not exist on my machine.
>>
>> Yes, sorry, you are right, this is the very same I have
>>
>> Gianfranco
>
> Can you ssh successfully from the client side to the server side?
>
> Sorry if you already answered this question.
> I started looking at this thread in the middle.
>
> If you cannot ssh, that will give us some hints.
>
> If you can ssh successfully, please check your /etc/hosts.allow and
> /etc/hosts.deny files on the server side.  I believe openssh-server is
> built to examine those files.  I believe those files can authenticate or
> block connections on a per service per user per host basis.
>

I can do ssh, this is what I cannot understand

> On the client side, can you do sftp -v 
>
> Does anyone know if multiple sftp -v -v -v increase the logging level as
> it does in ssh -v -v -v ?
>
> If using multiple -v does increase the logging level, can you do
> sftp -v -v -v ...
>
>
Ahah, very good idea!
Yes, using multiple -v -v increase the logging level.

Ok, now I try to do both ssh and sftp on my localhost (using -v). These 
are the outputs I get after I enter the password:

==
ssh -v localhost

debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessi...@openssh.com
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env XMODIFIERS = @im=none
debug1: Sending env LANG = en_US.UTF-8

So it works. But let's check the output of -v -v
===
ssh -v -v localhost
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessi...@openssh.com
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug1: Sending environment.
debug1: Sending env XMODIFIERS = @im=none
debug2: channel 0: request env confirm 0
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug2: channel 0: request shell confirm 1
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0

===
Now, let's try:  sftp -v localhost

debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessi...@openssh.com
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env XMODIFIERS = @im=none
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending subsystem: sftp
debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0
debug1: client_input_channel_req: channel 0 rtype e...@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
Transferred: sent 1872, received 2040 bytes, in 0.1 seconds
Bytes per second: sent 23294.9, received 25385.4
debug1: Exit status -1
Connection closed

So it does not work. But no real information
==
sftp -v -v localhost

debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug2: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessi...@openssh.com
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug1: Sending environment.
debug1: Sending env XMODIFIERS = @im=none
debug2: channel 0: request env confirm 0
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug1: Sending subsystem: sftp
debug2: channel 0: request subsystem confirm 1
debug2: fd 3 setting TCP_NODELAY
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: subsystem request accepted on channel 0
debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0
debug1: client_input_channel_req: channel 0 rtype e...@openssh.com r

Re: Sftp does not work after upgrade fo F12

2010-03-29 Thread Rick Sewill
On 03/29/2010 10:23 AM, Gianfranco Durin wrote:
> On 03/29/2010 03:28 PM, Aaron Konstam wrote:
>> On Mon, 2010-03-29 at 11:07 +0200, Gianfranco Durin wrote:
>>> On 03/25/2010 03:51 PM, Marvin Kosmal wrote:
 Could start with which sftp on the Fedora machine.

 YMMV

 Marvin

>>>
>>> Thanks,
>>> I use openssh
>>>
>>> and I have
>>>
>>> Subsystem sftp /usr/libexec/sftp-server
>>>
>>> enable in my sshd.config file.
>>>
>>> Is it enough?
>>>
>>> Gianfranco
>> This is the line in my sshd.conf file
>> Subsystem   sftp/usr/libexec/openssh/sftp-server
>>
>> The file you reference does not exist on my machine.
> 
> Yes, sorry, you are right, this is the very same I have
> 
> Gianfranco

Can you ssh successfully from the client side to the server side?

Sorry if you already answered this question.
I started looking at this thread in the middle.

If you cannot ssh, that will give us some hints.

If you can ssh successfully, please check your /etc/hosts.allow and
/etc/hosts.deny files on the server side.  I believe openssh-server is
built to examine those files.  I believe those files can authenticate or
block connections on a per service per user per host basis.

On the client side, can you do sftp -v 

Does anyone know if multiple sftp -v -v -v increase the logging level as
it does in ssh -v -v -v ?

If using multiple -v does increase the logging level, can you do
sftp -v -v -v ...


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Sftp does not work after upgrade fo F12

2010-03-29 Thread eduard0
Gianfranco,  if I well remember vsftp doesn't run by default. You have 
to enable it manually.

chkconfig --list vsftpd

#It will give you an answer if it's running at your default runlevel, 
i.e 3 or 5.
#If it's not, enable it by:

chkconfig --level 35 vsftpd on

#double check it again
chkconfig --list vsftpd

#you should see that it's configured to run on levels 3 and 5 at startup

#once you see this correctly then:

service vsftpd start


Regards,

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Sftp does not work after upgrade fo F12

2010-03-29 Thread Gianfranco Durin
On 03/29/2010 03:28 PM, Aaron Konstam wrote:
> On Mon, 2010-03-29 at 11:07 +0200, Gianfranco Durin wrote:
>> On 03/25/2010 03:51 PM, Marvin Kosmal wrote:
>>> Could start with which sftp on the Fedora machine.
>>>
>>> YMMV
>>>
>>> Marvin
>>>
>>
>> Thanks,
>> I use openssh
>>
>> and I have
>>
>> Subsystem sftp /usr/libexec/sftp-server
>>
>> enable in my sshd.config file.
>>
>> Is it enough?
>>
>> Gianfranco
> This is the line in my sshd.conf file
> Subsystem   sftp/usr/libexec/openssh/sftp-server
>
> The file you reference does not exist on my machine.

Yes, sorry, you are right, this is the very same I have

Gianfranco
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Sftp does not work after upgrade fo F12

2010-03-29 Thread Marvin Kosmal
I agree with Aaron...

Check both locations and modify  sshd_config

Subsystem   sftp/usr/libexec/openssh/sftp-server
Subsystem sftp /usr/libexec/sftp-server

Where is sftp-server located??

YMMV

Marvin


On 3/29/10, Aaron Konstam  wrote:
> On Mon, 2010-03-29 at 11:07 +0200, Gianfranco Durin wrote:
>> On 03/25/2010 03:51 PM, Marvin Kosmal wrote:
>> > Could start with which sftp on the Fedora machine.
>> >
>> > YMMV
>> >
>> > Marvin
>> >
>>
>> Thanks,
>> I use openssh
>>
>> and I have
>>
>> Subsystem sftp /usr/libexec/sftp-server
>>
>> enable in my sshd.config file.
>>
>> Is it enough?
>>
>> Gianfranco
> This is the line in my sshd.conf file
> Subsystem   sftp/usr/libexec/openssh/sftp-server
>
> The file you reference does not exist on my machine.
> --
> ===
> A bird in the hand is worth two in the bush. -- Cervantes
> ===
> Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Sftp does not work after upgrade fo F12

2010-03-29 Thread Aaron Konstam
On Mon, 2010-03-29 at 11:07 +0200, Gianfranco Durin wrote: 
> On 03/25/2010 03:51 PM, Marvin Kosmal wrote:
> > Could start with which sftp on the Fedora machine.
> >
> > YMMV
> >
> > Marvin
> >
> 
> Thanks,
> I use openssh
> 
> and I have
> 
> Subsystem sftp /usr/libexec/sftp-server
> 
> enable in my sshd.config file.
> 
> Is it enough?
> 
> Gianfranco
This is the line in my sshd.conf file
Subsystem   sftp/usr/libexec/openssh/sftp-server

The file you reference does not exist on my machine.
--
===
A bird in the hand is worth two in the bush. -- Cervantes
===
Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Sftp does not work after upgrade fo F12

2010-03-29 Thread Gianfranco Durin
On 03/25/2010 03:51 PM, Marvin Kosmal wrote:
> Could start with which sftp on the Fedora machine.
>
> YMMV
>
> Marvin
>

Thanks,
I use openssh

and I have

Subsystem sftp /usr/libexec/sftp-server

enable in my sshd.config file.

Is it enough?

Gianfranco
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: Sftp does not work after upgrade fo F12

2010-03-25 Thread Marvin Kosmal
Could start with which sftp on the Fedora machine.

YMMV

Marvin

On 3/25/10, Gianfranco Durin  wrote:
> Dear all,
> I have used for ages ssh and sftp with Fedora 10  on my machines, then I
> upgrade them receenty using preupgrade to Fedora 12.
>
> SSH still works very well, but sftp fails with error "Could not
> initialize SFTP session". I get this in both directions, I mean when
> using sftp from one machine to the other and reverse.
>
> The problem is that I have no idea on where I should look to understand
> the problem... could someone help me?
>
> Many thanks
> Gianfracno
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Sftp does not work after upgrade fo F12

2010-03-25 Thread Gianfranco Durin
Dear all,
I have used for ages ssh and sftp with Fedora 10  on my machines, then I 
upgrade them receenty using preupgrade to Fedora 12.

SSH still works very well, but sftp fails with error "Could not 
initialize SFTP session". I get this in both directions, I mean when 
using sftp from one machine to the other and reverse.

The problem is that I have no idea on where I should look to understand 
the problem... could someone help me?

Many thanks
Gianfracno
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines