ssh:// -> ssh-ng://, legacy-ssh:// -> ssh://
This commit is contained in:
parent
c5b83d8913
commit
287084d688
4 changed files with 4 additions and 4 deletions
|
@ -233,7 +233,7 @@ int main (int argc, char * * argv)
|
|||
lock = -1;
|
||||
|
||||
try {
|
||||
sshStore = openStore("ssh://" + bestMachine->hostName,
|
||||
sshStore = openStore("ssh-ng://" + bestMachine->hostName,
|
||||
{ {"ssh-key", bestMachine->sshKey },
|
||||
{"max-connections", "1" } });
|
||||
hostName = bestMachine->hostName;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
namespace nix {
|
||||
|
||||
static std::string uriScheme = "legacy-ssh://";
|
||||
static std::string uriScheme = "ssh://";
|
||||
|
||||
struct LegacySSHStore : public Store
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
namespace nix {
|
||||
|
||||
static std::string uriScheme = "ssh://";
|
||||
static std::string uriScheme = "ssh-ng://";
|
||||
|
||||
class SSHStore : public RemoteStore
|
||||
{
|
||||
|
|
|
@ -47,7 +47,7 @@ int main(int argc, char ** argv)
|
|||
if (sshHost.empty())
|
||||
throw UsageError("no host name specified");
|
||||
|
||||
auto remoteUri = "legacy-ssh://" + sshHost + (gzip ? "?compress=true" : "");
|
||||
auto remoteUri = "ssh://" + sshHost + (gzip ? "?compress=true" : "");
|
||||
auto to = toMode ? openStore(remoteUri) : openStore();
|
||||
auto from = toMode ? openStore() : openStore(remoteUri);
|
||||
|
||||
|
|
Loading…
Reference in a new issue