git-annex/doc
Joey Hess c3df5d1f10
avoid double-connect to unreachable ssh remote
When git-annex-shell p2pstdio fails with 255, it's because the ssh
server is not reachable. Avoid running the fallback action in this case,
since it would just try a second time to connect, and presumably fail.

Note that the closed P2PSshConnection will not be stored in the pool,
so the next request tries again to connect. This is just the right
behavior; when the remote becomes reachable again, the same git-annex
process will start using it.

This commit was sponsored by Ole-Morten Duesund on Patreon.
2018-03-12 16:50:21 -04:00
..
Android
android
assistant
automatic_conflict_resolution
backends
bare_repositories
benchmarking close bug; copy benchmarking info to new page 2017-10-31 13:13:40 -04:00
bugs added my forgotten meta record 2018-03-09 15:31:10 +00:00
coding_style
contribute
copies
design open todo for p2p protocol flag days 2018-03-12 16:28:54 -04:00
devblog devblog 2018-03-09 14:23:35 -04:00
direct_mode
download
ekg
encryption initremote, enableremote: Support gpg subkeys suffixed with an exclamation mark, which forces gpg to use a specific subkey. 2017-05-24 14:08:02 -04:00
footer
forum awesome 2018-03-09 14:19:21 -04:00
future_proofing
git-annex-adjust answer 2017-11-07 16:22:25 -04:00
git-annex-config response 2018-03-06 13:40:00 -04:00
git-annex-copy
git-annex-direct
git-annex-drop Added a comment: RE: choosing remotes and annex-cost-command 2017-02-28 01:10:05 +00:00
git-annex-enableremote Added a comment 2017-02-14 20:21:41 +00:00
git-annex-importfeed
git-annex-move Added a comment: Move from A to B 2017-07-26 19:08:07 +00:00
git-annex-preferred-content
git-annex-reinject
git-annex-unannex
git-annex-undo
git-annex-unused
how_it_works
install Added a comment: It is better to provide osx dmgs 2018-03-05 11:48:12 +00:00
internals response 2018-02-22 12:59:44 -04:00
license
links
metadata
news add news item for git-annex 6.20180227 2018-02-27 12:05:54 -04:00
not
polls
preferred_content
required_content
scalability
special_remotes Support exporttree=yes for rsync special remotes. 2018-02-28 13:36:20 -04:00
stickers
sync response; update man page 2017-05-09 14:02:48 -04:00
templates
testimonials
thanks update 2018-03-06 17:33:11 -04:00
tips Added a comment: Youtube-dl options per file? 2018-03-08 18:47:57 +00:00
todo avoid double-connect to unreachable ssh remote 2018-03-12 16:50:21 -04:00
trust
tuning response 2017-08-28 13:41:19 -04:00
upgrades comment 2017-03-21 13:44:42 -04:00
use_case
users fixing ben 2017-03-17 13:34:36 +00:00
videos
walkthrough response 2018-03-02 15:10:51 -04:00
Android.mdwn
assistant.mdwn
automatic_conflict_resolution.mdwn expand docs 2017-06-01 11:56:56 -04:00
backends.mdwn annex.backend is the new name for what was annex.backends 2017-05-09 15:04:07 -04:00
bare_repositories.mdwn
benchmarking.mdwn close bug; copy benchmarking info to new page 2017-10-31 13:13:40 -04:00
bugs.mdwn limit rss/atom feeds to 10 pages to avoid enormous files 2017-09-29 12:42:09 -04:00
builds.mdwn windows autobuilder no longer firewalled 2017-10-16 15:07:51 -04:00
chunking.mdwn
coding_style.mdwn
comments.mdwn
contact.mdwn
contribute.mdwn
copies.mdwn
design.mdwn
devblog.mdwn
direct_mode.mdwn
distributed_version_control.mdwn
download.mdwn github mirror has been removed due to their horrible new anti-free-software TOS 2017-03-01 13:28:02 -04:00
ekg.mdwn
encryption.mdwn
favicon.ico
forum.mdwn limit rss/atom feeds to 10 pages to avoid enormous files 2017-09-29 12:42:09 -04:00
future_proofing.mdwn Fixed typo: "repisitory" 2017-11-02 20:39:05 +00:00
git-annex-add.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-addunused.mdwn
git-annex-addurl.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-adjust.mdwn more consistent backticks with other man pages 2017-05-24 14:09:14 -04:00
git-annex-assistant.mdwn
git-annex-calckey.mdwn annex.backend is the new name for what was annex.backends 2017-05-09 15:04:07 -04:00
git-annex-checkpresentkey.mdwn
git-annex-config.mdwn annex.merge-annex-branches 2018-02-22 14:25:32 -04:00
git-annex-contentlocation.mdwn
git-annex-copy.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-dead.mdwn Keys marked as dead are now skipped by --all. 2017-05-09 12:55:21 -04:00
git-annex-describe.mdwn
git-annex-diffdriver.mdwn improve 2018-02-06 13:45:14 -04:00
git-annex-direct.mdwn
git-annex-drop.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-dropkey.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-dropunused.mdwn
git-annex-edit.mdwn
git-annex-enable-tor.mdwn
git-annex-enableremote.mdwn
git-annex-examinekey.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-expire.mdwn
git-annex-export.mdwn Support exporttree=yes for rsync special remotes. 2018-02-28 13:36:20 -04:00
git-annex-find.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-findref.mdwn
git-annex-fix.mdwn
git-annex-forget.mdwn
git-annex-fromkey.mdwn
git-annex-fsck.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-fuzztest.mdwn
git-annex-get.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-group.mdwn The second argument of "git annex group" is optional, fix the man page 2017-05-31 12:09:15 +02:00
git-annex-groupwanted.mdwn
git-annex-import.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-importfeed.mdwn convert importfeed to youtube-dl 2017-11-29 17:30:02 -04:00
git-annex-indirect.mdwn
git-annex-info.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-init.mdwn .noannex file 2017-12-13 14:34:32 -04:00
git-annex-initremote.mdwn
git-annex-inprogress.mdwn Added inprogress command for accessing files as they are being downloaded. 2017-12-28 11:46:39 -04:00
git-annex-list.mdwn
git-annex-lock.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-log.mdwn
git-annex-lookupkey.mdwn
git-annex-map.mdwn
git-annex-matchexpression.mdwn
git-annex-matching-options.mdwn securehash matching 2017-02-27 15:02:44 -04:00
git-annex-merge.mdwn configuration to disable automatic merge conflict resolution 2017-06-01 12:51:01 -04:00
git-annex-metadata.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-migrate.mdwn
git-annex-mirror.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-move.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-multicast.mdwn multicast: New command, uses uftp to multicast annexed files, for eg a classroom setting. 2017-03-30 19:35:30 -04:00
git-annex-numcopies.mdwn
git-annex-p2p.mdwn
git-annex-post-receive.mdwn post-recive hook to make updateInstead work in direct mode and adjusted branches 2017-02-17 14:04:43 -04:00
git-annex-pre-commit.mdwn
git-annex-preferred-content.mdwn fix outdated docs 2018-01-15 14:25:35 -04:00
git-annex-proxy.mdwn
git-annex-readpresentkey.mdwn
git-annex-registerurl.mdwn
git-annex-reinit.mdwn
git-annex-reinject.mdwn
git-annex-rekey.mdwn
git-annex-remotedaemon.mdwn Added remote.<name>.annex-push and remote.<name>.annex-pull 2017-04-05 13:22:35 -04:00
git-annex-repair.mdwn
git-annex-required.mdwn fsck: Warn when required content is not present in the repository that requires it. 2018-02-08 14:08:41 -04:00
git-annex-resolvemerge.mdwn expand docs 2017-06-01 11:56:56 -04:00
git-annex-rmurl.mdwn
git-annex-schedule.mdwn
git-annex-semitrust.mdwn
git-annex-setkey.mdwn
git-annex-setpresentkey.mdwn
git-annex-shell.mdwn use P2P protocol for drop 2018-03-08 16:56:17 -04:00
git-annex-smudge.mdwn
git-annex-status.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-sync.mdwn sync: Added --cleanup, which removes local and remote synced/ branches. 2017-09-28 14:58:48 -04:00
git-annex-test.mdwn add links 2017-11-09 11:34:53 -04:00
git-annex-testremote.mdwn add links 2017-11-09 11:34:53 -04:00
git-annex-transferkey.mdwn
git-annex-transferkeys.mdwn
git-annex-trust.mdwn
git-annex-unannex.mdwn
git-annex-undo.mdwn
git-annex-ungroup.mdwn
git-annex-uninit.mdwn
git-annex-unlock.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex-untrust.mdwn
git-annex-unused.mdwn
git-annex-upgrade.mdwn
git-annex-vadd.mdwn
git-annex-vcycle.mdwn
git-annex-version.mdwn
git-annex-vfilter.mdwn
git-annex-vicfg.mdwn
git-annex-view.mdwn
git-annex-vpop.mdwn
git-annex-wanted.mdwn
git-annex-watch.mdwn
git-annex-webapp.mdwn
git-annex-whereis.mdwn better doc for --json-error-messages 2018-02-19 15:33:59 -04:00
git-annex.mdwn fix markdown 2018-03-08 12:54:56 -04:00
git-remote-tor-annex.mdwn
git-union-merge.mdwn
how_it_works.mdwn
index.mdwn
install.mdwn remove links to trees of files, as they confuse users and prevent them reading the instructions before downloading 2017-08-28 13:05:03 -04:00
internals.mdwn change export.log format to support multiple export remotes 2017-09-12 17:45:52 -04:00
license.mdwn
location_tracking.mdwn
logo-old-bw.svg
logo-old.png
logo-old.svg
logo-old_small.png
logo.mdwn
logo.svg
logo_16x16.png
logo_32x32.png
logo_small.png
meta.mdwn
metadata.mdwn
news.mdwn
not.mdwn Update boar link 2018-01-12 01:15:23 +00:00
polls.mdwn
preferred_content.mdwn securehash matching 2017-02-27 15:02:44 -04:00
privacy.mdwn
publicrepos.mdwn Added datalad "super-dataset". 2017-09-05 17:00:38 +00:00
related_software.mdwn 2018-03-07 23:19:56 +00:00
repomap.png
required_content.mdwn fsck: Warn when required content is not present in the repository that requires it. 2018-02-08 14:08:41 -04:00
scalability.mdwn
shortcuts.mdwn
sidebar.mdwn
sitemap.mdwn
special_remotes.mdwn Fixed typo: added "to" to "the --size parameter can adjust it [to] test using smaller files" 2017-11-02 22:25:47 +00:00
stickers.mdwn
submodules.mdwn
summary.mdwn
sync.mdwn
testimonials.mdwn
thanks.mdwn updates 2018-01-02 16:28:33 -04:00
tips.mdwn
todo.mdwn limit rss/atom feeds to 10 pages to avoid enormous files 2017-09-29 12:42:09 -04:00
transferring_data.mdwn
trust.mdwn
tuning.mdwn
upgrades.mdwn
users.mdwn
videos.mdwn
Void.mdwn
walkthrough.mdwn remove recent addition of receive.denyNonFastForwards to walkthrough 2017-02-13 16:02:53 -04:00
workflow.mdwn link to the assistant page here 2017-04-24 13:56:08 +00:00