Bug 204823 - security/sshpass: can't open /dev/tty
Summary: security/sshpass: can't open /dev/tty
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: easy, needs-qa, patch
Depends on:
Blocks:
 
Reported: 2015-11-25 22:52 UTC by Andrey Fesenko
Modified: 2016-08-19 03:11 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (gaod)
koobs: merge-quarterly?


Attachments
sshpass ssh freebsd to freebsd (9.07 KB, text/plain)
2015-11-25 22:52 UTC, Andrey Fesenko
no flags Details
sshpass ssh freebsd to centos (8.85 KB, text/plain)
2015-11-25 22:53 UTC, Andrey Fesenko
no flags Details
fix to this issue (436 bytes, patch)
2016-01-08 14:54 UTC, crowx
koobs: maintainer-approval? (gaod)
Details | Diff
patch-Makefile and add files patch (1.74 KB, patch)
2016-01-17 13:21 UTC, Andrey Fesenko
andrey: maintainer-approval? (gaod)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Fesenko 2015-11-25 22:52:27 UTC
Created attachment 163540 [details]
sshpass ssh freebsd to freebsd

sshpass not work correctly in FreeBSD hi need access to /dev/tty

In FreeBSD 9-11, device not exist, create if request
# ls -l /dev/tty
crw--w----  1 user  tty  0x9f Nov 26 00:15 /dev/tty

In Cent-OS, sshpass work fine
# ls -l /dev/tty
crw-rw-rw- 1 root tty 5, 0 Nov 26 03:13 /dev/tty

Log sshpass ssh -vvv attach
Comment 1 Andrey Fesenko 2015-11-25 22:53:20 UTC
Created attachment 163541 [details]
sshpass ssh freebsd to centos
Comment 2 crowx 2016-01-08 14:54:53 UTC
Created attachment 165266 [details]
fix to this issue

Please try the patch form attachment.
Comment 3 Andrey Fesenko 2016-01-17 13:21:30 UTC
Created attachment 165710 [details]
patch-Makefile and add files patch

This is work, I'm make complete patch for commit in port
Comment 4 Hung-Yi Chen 2016-01-20 20:13:15 UTC
Hi, please commit it.
Comment 5 Kevin Lo freebsd_committer freebsd_triage 2016-01-31 14:25:05 UTC
Hung-Yi,

I have a similar patch I've sent to you about 13 months ago and it was 
committed as r407527 yesterday.  I think this PR can be closed.
Comment 6 John Marino freebsd_committer freebsd_triage 2016-08-19 03:11:04 UTC
closed per Kevin Lo suggestion.