Re: Problem to use remote cygwin server using ssh and native psql 8.3.5

Поиск
Список
Период
Сортировка
От Jukka Inkeri
Тема Re: Problem to use remote cygwin server using ssh and native psql 8.3.5
Дата
Msg-id 78154eecbf72c51ec2b99c53d67153553c295c02@localhost
обсуждение исходный текст
Ответы Re: Problem to use remote cygwin server using ssh and native psql 8.3.5  (Sam Mason <sam@samason.me.uk>)
Список pgsql-general
Jukka Inkeri wrote:
>
> I have installed cycwin and sshd in my Windows server.
>
> I have Winnative psql.exe (8.3.5)
>
> If I use cygwin locally in this server and give command in cygwin session:
> psql -h somehost -U someuser -d somedb
> it works fine
>
> But if i use via ssh same way, then no echo ... and process hang.
>
> I have tested remote ssh and local
>
> Cygwin session
> ssh localhost
> => connect local, ...
> psql -h somehost -U someuser -d somedb
> will hang
>
> Cygwin old native psql 8.2 works, but I like to use newer psql = Win
> native psql.exe
>
> tested using Cygwin 1.5.x and 1.7.x
>
> Ssh tty problem using Windows native psql.exe ?
>

If I use flag -f in psql, then no problem.

psql -h somehost -U someuser -d somedb -f mysqlcommands.txt
works fine.  Also special -f - = stdin works.

Interactive work not.


В списке pgsql-general по дате отправления:

Предыдущее
От: Jukka Inkeri
Дата:
Сообщение: Problem to use remote cygwin server using ssh and native psql 8.3.5
Следующее
От: Bob Henkel
Дата:
Сообщение: Getting iPhone Simulator App to compile with libpq on Snow Leopard