“Multiplex uid mismatch” when trying to get info from Unix socket

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I created a unix socket in order to enable SSH multiplexing for my SSH tunnel. I'm new to unix sockets so I wanted to see what this pseudo-file in my filesystem contains. I've tried using:



nc -U socket.file and echo "$(cat socket.file)"



And in both cases, this error is returned:



multiplex uid mismatch: peer euid 501 != uid 0



I'm really just curious and want to cat or tail this unix socket "file" to see what's returned when I use that SSH tunnel. In the end, I'm trying to understand how communication between machines work using this unix socket "file".



How do I read from this unix socket?







share|improve this question




















  • You will need to give more details on how you are using ssh.
    – Patrick Mevzek
    Mar 16 at 4:35














up vote
1
down vote

favorite












I created a unix socket in order to enable SSH multiplexing for my SSH tunnel. I'm new to unix sockets so I wanted to see what this pseudo-file in my filesystem contains. I've tried using:



nc -U socket.file and echo "$(cat socket.file)"



And in both cases, this error is returned:



multiplex uid mismatch: peer euid 501 != uid 0



I'm really just curious and want to cat or tail this unix socket "file" to see what's returned when I use that SSH tunnel. In the end, I'm trying to understand how communication between machines work using this unix socket "file".



How do I read from this unix socket?







share|improve this question




















  • You will need to give more details on how you are using ssh.
    – Patrick Mevzek
    Mar 16 at 4:35












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I created a unix socket in order to enable SSH multiplexing for my SSH tunnel. I'm new to unix sockets so I wanted to see what this pseudo-file in my filesystem contains. I've tried using:



nc -U socket.file and echo "$(cat socket.file)"



And in both cases, this error is returned:



multiplex uid mismatch: peer euid 501 != uid 0



I'm really just curious and want to cat or tail this unix socket "file" to see what's returned when I use that SSH tunnel. In the end, I'm trying to understand how communication between machines work using this unix socket "file".



How do I read from this unix socket?







share|improve this question












I created a unix socket in order to enable SSH multiplexing for my SSH tunnel. I'm new to unix sockets so I wanted to see what this pseudo-file in my filesystem contains. I've tried using:



nc -U socket.file and echo "$(cat socket.file)"



And in both cases, this error is returned:



multiplex uid mismatch: peer euid 501 != uid 0



I'm really just curious and want to cat or tail this unix socket "file" to see what's returned when I use that SSH tunnel. In the end, I'm trying to understand how communication between machines work using this unix socket "file".



How do I read from this unix socket?









share|improve this question











share|improve this question




share|improve this question










asked Mar 5 at 20:48









LXXIII

1114




1114











  • You will need to give more details on how you are using ssh.
    – Patrick Mevzek
    Mar 16 at 4:35
















  • You will need to give more details on how you are using ssh.
    – Patrick Mevzek
    Mar 16 at 4:35















You will need to give more details on how you are using ssh.
– Patrick Mevzek
Mar 16 at 4:35




You will need to give more details on how you are using ssh.
– Patrick Mevzek
Mar 16 at 4:35















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f428364%2fmultiplex-uid-mismatch-when-trying-to-get-info-from-unix-socket%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f428364%2fmultiplex-uid-mismatch-when-trying-to-get-info-from-unix-socket%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay